-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winget upgrade for nvm is broken #876
Comments
Duplicate of #851. Also, DisplayVersion is available. |
I think if you use the update utility it doesn't work so you probably need to use the installer to fix this. |
I can confirm that if you use the installer to update the version it fixes the issue. |
This bug has been fixed in 1.1.10 |
Issue:
Hi, thank you for the nice tool.
I am installing NVM for windows with winget, which is becoming the de facto tool for managing packages in Windows.
❯ winget install --id CoreyButler.NVMforWindows
My issue is that to this date I cannot seamlessly use the upgrade function of winget due to NVM for windows not been upgraded by the tool:
Adding the
--include-unknown
parameter is not a good solution because I am never not in a state where the system is 'up to date'You can see the main reason is that winget is unable to detect the current version of NVM for windows:
Expected Behavior:
The actual version of the currently installed version should appear as so:
Additional context:
As explained here: microsoft/winget-cli#1356
The version used by winget is simply the information provided from Control Panel
Apparently, all that is needed is to add a DisplayVersion key in the registry when installing.
See how the Control panel does not see the version:
Here is an example of a program with a version:
The text was updated successfully, but these errors were encountered: