From 5e3a2dd3b9d035d8012296d68642e4b06e154ca8 Mon Sep 17 00:00:00 2001 From: nodemixaholic Date: Wed, 13 Mar 2024 19:02:18 +0000 Subject: [PATCH] Update 'common-stream.ps1' --- common-stream.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common-stream.ps1 b/common-stream.ps1 index 27e91d7..b04da3c 100644 --- a/common-stream.ps1 +++ b/common-stream.ps1 @@ -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