WinGet Download presents error when it should be a warning. #4643
Labels
Area-Output
Issue related to CLI output
Command-Download
Issue related to WinGet Download
In-PR
Issue related to a PR
Issue-Feature
This is a feature request for the Windows Package Manager client.
Milestone
Brief description of your issue
When downloading a store app, the user is presented with the following if they do not have admin access to the license.
Failed to retrieve Microsoft Store package license
An unexpected error occurred while executing the command:
0x80190193 : Forbidden (403).
Given this is targeting a user or ITPro. For the user, they can run the app and the license will come down from the store. Therefore not an error.
For the ITPro, they can pass in the --skip-license to avoid this case.
Steps to reproduce
winget download 9WZDNCRFJ3PZ -d c:\temp\deleteme\9WZDNCRFJ3PZ
Expected behavior
To be told the package was successfully installed and not error.
Actual behavior
Failed to retrieve Microsoft Store package license
An unexpected error occurred while executing the command:
0x80190193 : Forbidden (403).
Environment
The text was updated successfully, but these errors were encountered: