Releases: asheroto/winget-install
Releases · asheroto/winget-install
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.
5.1.0
- 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
- 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
- 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
- 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
- Fixed installation issue on Server 2022 by changing installation method to same as Server 2019. Fixes #62.
5.0.5
- Fixed exit code issue. Fixes #52.
5.0.4
- 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
- Fix missing argument in call to
Add-ToEnvironmentPath
.
5.0.2
- 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.