Advertisement

Windows Package Manager 1.3 has been released

The new version of the winget app now supports portable applications,  better reports package versions, shows system architecture of your device, documentation and installation notes for the package, and can print out verbose logs.

Advertisement

What's new in winget 1.3

Display Documentation

Winget 1.3 supports additional params in the package manifest. When you run the winget show <package> command, it will now display documentation and an associated URL if they are specified by the package manifest author.

Winget Display Documentation 1

Installation notes

Besides the documentation info, winget now supports installation notes which will be show after installation. The package developer may use them to ask the user to perform an extra action before using the installed app with winget. E.g. the notes may include a recommendation to restart the terminal app to apply new environment variables.

Winget Installation Notes 1

To manage notes on the client side, winget supports three new options.

  • The suppressInstallNotes setting.
  • The –display-notes command line argument.
  • The –suppress-notes argument.

The command line arguments will override the suppressInstallNotes setting value.

ReturnResponseURL

One more new setting is the ReturnResponseURL for the InstallerReturnCode array. It will allow developers to display a custom URL when the installer returns a specific error code.Winget Expected Return Code Response URL

Support for Portable Packages

The main thing here is that winget can now register apps that don't have the installer under Apps > Apps & features in Settings. You can install and uninstall them with winget using the winget install <package> and winget uninstall <package> commands. Despite the fact that portable apps are just executable files that you could copy to any folder, winget allows you to see them as regular installed apps.

Other changes

  • You can now add  –verbose-logs to any command. The Windows Package Manager will add extra info to the logs.  Users can now specify what level of logging they want. The “Logging” levels available are “verbose”, “info”, “warning”, “error”, and “critical”.
  • winget –info will now display the the system architecture.
  • To detect the installed app version, manifests can now use the display version (“packageVersion” in the manifest) to show users what version is installed or which upgrade is available. But it can still use the build version (“displayVersion” manifest key from the registry and “AppsAndFeatures” from the manifest) for comparison.
  • Additional fine-grained blocks make the installation progress bar even more smooth.

You will find the official announcement here.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.