Skip to content

Releases: asheroto/winget-install

5.3.6

12 Jan 22:29

Choose a tag to compare

  • Fixed bug where GitHub token was not being used during an update check. Thanks for @dteusner for the fix.

5.3.5

22 Dec 22:39

Choose a tag to compare

  • 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

22 Dec 21:08

Choose a tag to compare

  • 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

22 Dec 20:57

Choose a tag to compare

  • Fixed an incorrect parameter type for Apply-PathPermissionsFixAndAddPath.

Thanks to @dblohm7 for the fix.

5.3.1

06 Nov 17:43

Choose a tag to compare

  • 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

20 Oct 21:24

Choose a tag to compare

  • 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

07 Jul 20:46
3fba8cc

Choose a tag to compare

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

5.1.0

24 Apr 20:08

Choose a tag to compare

  • Installation under the SYSTEM context is now supported. 😎

Note: If the script is running under the SYSTEM context, a restart of the computer or session may be required for the winget command to work properly.

To prevent interruptions when using remote management or automation tools, and if permitted by your organization's security policy, include the flags --accept-package-agreements --accept-source-agreements to automatically accept prompts.

If you're using ScreenConnect / ConnectWise Control, you may want to increase the Command Execution Timeout to 300000 ms (5 minutes) to avoid timeouts during dependency installation. This setting is located under ScreenConnect > Administration > Advanced > Web Configuration > Settings.

5.0.9

17 Apr 20:33

Choose a tag to compare

  • Improved script output.
  • Fixed error messages caused when checking for an existing library/dependency version with multiple installed variants by choosing highest version number of the installed dependency.

5.0.8

17 Apr 20:17
1eccc0d

Choose a tag to compare

  • Fixed an issue on Server 2019 where the script failed if the dependency was already installed by adding library/dependency version check functionality. Fixes #61. Thank you to @MatthiasGuelck for the fix and improvement! 👍