winget-install

1.0.3

Downloads the latest version of Winget, its dependencies, and installs everything. PATH variable is adjusted after installation. Reboot required after installation.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name winget-install -RequiredVersion 1.0.3

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • asherto 1ckov

Tags

PowerShell Windows winget win get install installer fix script

Functions

Check-GitHubRelease Get-LatestMicrosoftUIXamlVersion Add-AppxPackageSilently Write-Section Get-NewestLink

Dependencies

This script has no dependencies.

Release Notes

[Version 0.0.1] - Initial Release.
[Version 0.0.2] - Implemented function to get the latest version of Winget and its license.
[Version 0.0.3] - Signed file for PSGallery.
[Version 0.0.4] - Changed URI to grab latest release instead of releases and preleases.
[Version 0.0.5] - Updated version number of dependencies.
[Version 1.0.0] - Major refactor code, see release notes for more information.
[Version 1.0.1] - Fixed minor bug where version 2.8 was hardcoded in URL.
[Version 1.0.2] - Hardcoded UI Xaml version 2.8.4 as a failsafe in case the API fails. Added CheckForUpdates, Version, Help functions. Various bug fixes.
[Version 1.0.3] - Added error message to catch block. Fixed bug where appx package was not being installed.

FileList

Version History

Version Downloads Last updated
5.0.5 8,018 11/18/2024
5.0.4 9,003 11/9/2024
5.0.3 333 11/8/2024
5.0.2 41 11/8/2024
5.0.1 2,036 11/7/2024
5.0.0 26 11/7/2024
4.1.2 101,142 6/5/2024
4.1.1 40 6/5/2024
4.1.0 1,827 5/31/2024
4.0.5 29,139 4/29/2024
4.0.4 29,814 3/6/2024
4.0.3 1,763 2/29/2024
4.0.2 5,216 2/15/2024
4.0.1 12,068 1/30/2024
4.0.0 60 1/30/2024
3.2.6 119,440 1/4/2024
3.2.5 124,108 12/15/2023
3.2.4 301,448 11/6/2023
3.2.3 120,584 10/29/2023
3.2.2 14,617 10/23/2023
3.2.1 11 10/23/2023
3.2.0 13 10/23/2023
3.1.1 10,495 10/16/2023
3.1.0 13 10/16/2023
3.0.2 69 10/16/2023
3.0.1 8,084 9/25/2023
3.0.0 16,087 8/23/2023
2.1.0 37,956 8/17/2023
2.0.2 5,515 8/1/2023
2.0.1 20 8/1/2023
2.0.0 21 8/1/2023
1.0.4 17,468 6/28/2023
1.0.3 (current version) 4,079 6/20/2023
1.0.2 106 6/20/2023
1.0.1 1,312 6/17/2023
1.0.0 31 6/17/2023
0.0.4 73,879 7/2/2022
0.0.3 29 7/1/2022
0.0.2 27 7/1/2022
Show less