-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Visual C++ needs update every upgrade #3737
Comments
How many copies do you have if you run |
I believe the issue is in how the installer is reporting the version to the registry. We don't get a specific architecture value from the registry. |
I removed all versions of visual c++, reinstalled vc++ 2015-2022 x64 from the website and running winget upgrade. The problem came up again. I also tested winget upgrade without any vc++ dists and winget worked as expected (vc++ didn't come up in the upgrade list). The problem seems to be specifically with the visual c++ 2015-2022 package on the official visual c++ website. |
I see, should this issue be closed then? Since the issue seems to be with the installer itself? Maybe the issue can be forwarded to the relevant team. Although it's a relatively minor issue. |
I've been working with the VCRuntime team. We've been discussing the nature of the challenge and working towards a permanent solution. It actually looks like a much bigger challenge than I was hoping it would be. I've started engaging with other teams here to discuss other options. Note: nothing is actually "wrong" with the installer. I'd say it is more of a gap in the set of "standard" metadata written to the registry and could be solved a few different ways. |
I also had same issue. |
Should that last be Thanks for figuring out a workaround! |
This works! Thanks!! |
Brief description of your issue
Whenever
winget upgrade --all
is run, Visual C++ x64 needs to always be upgraded, from the same version number as it was last time before upgrading.And the id section shows x86 instead of x64.
Note that this DOES NOT happen when Visual C++ is installed with winget itself (and not from the website)
Steps to reproduce
Install Visual C++ 2015-2022 from: https://aka.ms/vs/17/release/vc_redist.x64.exe
Run
winget upgrade Microsoft.VCRedist.2015+.x64
orwinget upgrade --all
Expected behavior
id
(x64 when the name is x64)Actual behavior
id
id
column when the name showsx64
Environment
The text was updated successfully, but these errors were encountered: