Update 'common-stream.ps1'

This commit is contained in:
nodemixaholic 2024-03-13 19:02:18 +00:00
parent d528547a83
commit 5e3a2dd3b9

View file

@ -1,3 +1,5 @@
irm https://community.chocolatey.org/install.ps1 | iex
echo Stopping and Disabling Windows Update services...
Stop-Service -Name wuauserv
Set-Service -Name wuauserv -StartupType Disabled
@ -6,6 +8,16 @@ Set-Service -Name bits -StartupType Disabled
Stop-Service -Name dosvc
Set-Service -Name dosvc -StartupType Disabled
echo installing winget....
$progressPreference = 'silentlyContinue'
Write-Information "Downloading WinGet and its dependencies..."
Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
echo Setting region to Denmark....
Set-WinHomeLocation -GeoID 61