Repository navigation
Releases: asheroto/winget-install
Releases · asheroto/winget-install
Release list
5.4.0
Fixed
- Fixed
UpdateSelfand dependency version checks that compared versions as strings. Updates and newer dependencies were missed once a version component reached two digits. - Fixed dependencies on Windows Server 2019 and 2022 being reported as installed and skipped when they were not installed. This is a likely cause of the recurring
0x80073CF3prerequisite errors. - Fixed
-PortableInstallMethodalso running the standard install and registration on Windows 10 and 11. - Fixed PATH handling. Entries such as
%LOCALAPPDATA%\Microsoft\WindowsAppsare now stored asREG_EXPAND_SZso Windows expands them, and existing%USERPROFILE%style entries are no longer flattened to fixed paths. Repeated runs no longer add duplicate PATH entries. - Removed the GitHub token from
-Debugand-Verboseoutput.
Security
- Portable extraction now refuses archive entries that would land outside the destination folder.
- Package manifests are parsed with DTD processing disabled.
Added
- Help entries for
-AlternateInstallMethod,-PortableInstallMethod, and-WingetVersion. - Pester test suite under
tests/. Run withInvoke-Pester -Path .\tests.
Changed
- Releases are no longer code signed. The certificate expired and renewing it was no longer justified, as the PowerShell Gallery and
irm | iexmethods remain unaffected. If you download the script and run it locally, runUnblock-Fileon it first or launch it with-ExecutionPolicy Bypass. - README now documents all three install methods and when each is used automatically.
Full Changelog: 5.3.8...5.4.0
5.3.8
- Fixed regression from 5.3.7 where the process exit code was not returned to non-interactive hosts (Intune, RMM, CI) when running the script with
irm | iex
Full Changelog: 5.3.7...5.3.8
5.3.7
- Fixed bug where the PowerShell window would close when running the script with
irm | iex - Fixed bug where the GitHub token was not being used when downloading dependencies and the license (token remains optional)
- Fixed version comparison during update check
- Improved script startup speed by only detecting the current process when using
-ForceClose - Combined manifest helper functions into
Get-ManifestProperty
Full Changelog: 5.3.6...5.3.7
5.3.6
5.3.5
5.3.4
5.3.2
5.3.1
- Added support for installing a specific version of WinGet (see readme for details).
- Added error handling (try/catch) to improve reliability when getting or setting ACLs.
- Fixed an issue with
Get-WinGetFolderPath. - Improved detection when a WinGet version is specified.
- Added support for using a GitHub API token to increase API reliability and avoid rate limits.
- Added beta support for Server Core - still under active development.
Special thanks to @jantari and @m41kc0d3 for their contributions.
Note: Version 5.3.0 was revoked due to a bug.
5.2.1
5.2.0
- Added support for installing winget dependencies from winget-cli GitHub repository.
- Added fix for issue #66 and #65. Fixed version detection for winget dependencies.
- Spelling and formatting corrections.
Thanks to @JonathanPitre for the contribution.