First of all: Thanks for these great scripts!
Now to my question:
As Microsoft by now published an official way to install winget within a windows sandbox, I just wanted to ask if this script (EDIT: the Install-Winget.ps1 one) is still required / provides an advantage over the installation method from Microsoft.
Reference: https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget-on-windows-sandbox
It's basically just:
Install-PackageProvider -Name NuGet -Force | Out-Null
Install-Module -Name Microsoft.WinGet.Client -Force -Repository PSGallery | Out-Null
Repair-WinGetPackageManager -AllUsers
This seems to work fine.
If there are advantages of your method, you could add that info to the readme.
Independent of whether there are advantages or not, I guess it would make sense to at least link from your readme to Microsofts page with the official installation instruction...
First of all: Thanks for these great scripts!
Now to my question:
As Microsoft by now published an official way to install winget within a windows sandbox, I just wanted to ask if this script (EDIT: the
Install-Winget.ps1one) is still required / provides an advantage over the installation method from Microsoft.Reference: https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget-on-windows-sandbox
It's basically just:
This seems to work fine.
If there are advantages of your method, you could add that info to the readme.
Independent of whether there are advantages or not, I guess it would make sense to at least link from your readme to Microsofts page with the official installation instruction...