Skip to content

Releases: asheroto/winget-install

5.2.0

07 Jul 20:46
3fba8cc
Compare
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
Compare
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
Compare
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
Compare
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! 👍

5.0.7

16 Mar 15:35
Compare
Choose a tag to compare
  • Added the literal %LOCALAPPDATA% path to the user environment PATH to prevent issues when usernames or user profile paths change, or when using non-Latin characters. Fixes #45.
  • Added support to catch Get-CimInstance errors, lately occuring in Windows Sandbox.
  • Removed Server 2022 changes introduced in version 5.0.6.
  • Register winget command in all OS versions except Server 2019. Fixes #57.

5.0.6

05 Mar 16:13
Compare
Choose a tag to compare
  • Fixed installation issue on Server 2022 by changing installation method to same as Server 2019. Fixes #62.

5.0.5

18 Nov 21:10
Compare
Choose a tag to compare
  • Fixed exit code issue. Fixes #52.

5.0.4

09 Nov 15:40
Compare
Choose a tag to compare
  • Fixed bug with UpdateSelf function.
  • Fixed bug when installing that may cause NuGet prompt to not be suppressed.
  • Introduced Install-NuGetIfRequired function.

5.0.3

08 Nov 16:48
Compare
Choose a tag to compare
  • Fix missing argument in call to Add-ToEnvironmentPath.

5.0.2

08 Nov 16:31
Compare
Choose a tag to compare
  • Added logic to detect if NuGet is already installed, skipping the installation process if found. This prevents error messages when running Install-PackageProvider and resolves issue #51. NuGet is included by default in PowerShell 7.