You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The winget configured command does not respect the maxVersion parameter in a configuration file.
It works correctly if I use the cli command to do it.
PS> winget install OpenJS.NodeJS -v "18.11.0"
Found an existing package already installed. Trying to upgrade the installed package...
Found Node.js [OpenJS.NodeJS] Version 18.11.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://nodejs.org/dist/v18.11.0/node-v18.11.0-x64.msi
██████████████████████████████ 29.2 MB / 29.2 MB
Successfully verified installer hash
Starting package install...
Successfully installed
Steps to reproduce
I have the following resource defined in my configuration file:
Brief description of your issue
The
winget configured
command does not respect themaxVersion
parameter in a configuration file.It works correctly if I use the cli command to do it.
Steps to reproduce
I have the following resource defined in my configuration file:
Expected behavior
I expect it to install a version no higher than
18.11.0
.Actual behavior
When
winget configure
runs, it installs the latest version.Environment
The text was updated successfully, but these errors were encountered: