Tonight Microsoft released the Windows Package Manager (Winget) as the first stable version 1.7 (1.7.10582) for download. There are a lot of new functions and a lot of, really a lot of corrections that have been made.
The new features in Winget 1.7
- The command
winget repairis now available and can be used to repair a package that has problems. - Winget can enable Windows features as a package dependency.
- Winget now supports restarting the machine if the installer return value indicates that a restart is required. You can do this by doing this
--allow-rebootPass flag. - The WinGet configuration can now accept a URL instead of just a local file.
- Performance improvements to make the network with the CDN more efficient, along with better operations to handle increased demand scenarios.
- Support for Entra Id authentication (formerly Azure Active Directory) for private REST sources. Note: The reference implementation of the REST sources still needs to be updated.
An excerpt of the corrections:
- The Invoke-CommandInDesktopPackage has been removed
- Enables COM API access to correlate only with the tracking database
--accept-source-agreementsallowed with local manifestos- Call ShellExecute with dism.exe to activate Windows functions
- Allowed
--include-unknownat the installation - Skip the dependency assessment with
--skip-dependencies - Allows Microsoft.WinGet.Client to run in any PowerShell session running as System
- All further improvements in the release notes