Skip to content

Releases: asheroto/winget-install

5.4.0

Choose a tag to compare

@asheroto asheroto released this 31 Oct 18:00

Fixed

  • Fixed UpdateSelf and 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 0x80073CF3 prerequisite errors.
  • Fixed -PortableInstallMethod also running the standard install and registration on Windows 10 and 11.
  • Fixed PATH handling. Entries such as %LOCALAPPDATA%\Microsoft\WindowsApps are now stored as REG_EXPAND_SZ so 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 -Debug and -Verbose output.

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 with Invoke-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 | iex methods remain unaffected. If you download the script and run it locally, run Unblock-File on 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

Choose a tag to compare

@asheroto asheroto released this 31 Aug 20:57
  • 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

Choose a tag to compare

@asheroto asheroto released this 31 Aug 20:57
  • 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

Choose a tag to compare

@asheroto asheroto released this 12 Jan 22:29
  • Fixed bug where GitHub token was not being used during an update check. Thanks for @dteusner for the fix.

5.3.5

Choose a tag to compare

@asheroto asheroto released this 22 Dec 22:39
  • Improved winget detection to verify installation and functionality.
  • Enforced alternate install method on Server 2022.
  • Added winget AppX detection to prevent registration errors.

5.3.4

Choose a tag to compare

@asheroto asheroto released this 22 Dec 21:08
  • Fixed an issue where the debug variable was not defined, which could cause an unexpected error. Fixes #78.

Thanks to @Zamiell for reporting the issue.

Note: Version 5.3.3 was removed due to a bug.

5.3.2

Choose a tag to compare

@asheroto asheroto released this 22 Dec 20:57
  • Fixed an incorrect parameter type for Apply-PathPermissionsFixAndAddPath.

Thanks to @dblohm7 for the fix.

5.3.1

Choose a tag to compare

@asheroto asheroto released this 06 Nov 17:43
  • 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

Choose a tag to compare

@asheroto asheroto released this 20 Oct 21:24
  • Switched SYSTEM account specification to SID identifier to avoid issues in non-US locales.
  • Added avoidance of pre-release versions and dynamically installing dependencies.

Thanks to @langermi and @AAGITLTD for the contribution.

5.2.0

Choose a tag to compare

@asheroto asheroto released this 07 Jul 20:46
3fba8cc
  • 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.