Skip to content
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 does not allow both x64 and x86 versions of a package to be installed #3010

Closed
butterbutts opened this issue Feb 25, 2023 · 1 comment
Milestone

Comments

@butterbutts
Copy link

butterbutts commented Feb 25, 2023

Brief description of your issue

Trying to install any of the Visual C++ Redistributables or .Net Redistributables for both x86 and x64 results in winget claiming the package is already installed and cannot be upgraded.
For example, installing the .Net 7 Desktop x64 package and then trying to install the x86 package results in the same error as if you were trying to install the exact same package again. The same thing happens installing x86 first and x64 second, you can only install whichever one comes first.
Using --force allows the install to proceed as expected.

Steps to reproduce

winget install Microsoft.VCRedist.2015+.x64
Success
winget install Microsoft.VCRedist.2015+.x86
Found an existing package already installed. Trying to upgrade the installed package...
No applicable upgrade found.

Expected behavior

Winget should install the specified package.

Actual behavior

Winget believes the package is already installed, even though it is not.

Environment

Windows Package Manager v1.4.10173
Windows: Windows.Desktop v10.0.22621.1265
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Feb 25, 2023
@Trenly
Copy link
Contributor

Trenly commented Feb 26, 2023

As a workaround, use --force to install the package

@stephengillie stephengillie removed the Needs-Triage Issue need to be triaged label Feb 27, 2023
@denelon denelon added this to the v1.6 Client milestone Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants