Skip to content

Install-Winget.ps1 still required / comparison to official method #20

@TSlivede

Description

@TSlivede

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions