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

App different versions, same ID, unable to uninstall #3934

Closed
GustavoAlmeidaAboud opened this issue Nov 29, 2023 · 3 comments
Closed

App different versions, same ID, unable to uninstall #3934

GustavoAlmeidaAboud opened this issue Nov 29, 2023 · 3 comments
Labels
Area-Matching Issue related to correlation between installed package and manifest Side-by-Side Issue related to side by side package installation
Milestone

Comments

@GustavoAlmeidaAboud
Copy link

Brief description of your issue

Two different versions of the software installed with the same ID

Steps to reproduce

I believe this was due a winget upgrade

Expected behavior

Be able to uninstall winget app with the same ids

Actual behavior

Unable to uninstall winget with the same id

Winget list keepass

KeePass Password Safe 1.40.1 DominikReichl.KeePass 1.40.1 2.55.0 winget
KeePass Password Safe 2.55 DominikReichl.KeePass 2.55 winget
KeePass 2.53 DominikReichl.KeePass 2.53.0 2.55.0 winget

Environment

Windows Package Manager v1.6.3133
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2715
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.0
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Nov 29, 2023
@GustavoAlmeidaAboud GustavoAlmeidaAboud changed the title Winget app different versions same ID, unable to uninstall App different versions same ID, unable to uninstall Nov 29, 2023
@GustavoAlmeidaAboud GustavoAlmeidaAboud changed the title App different versions same ID, unable to uninstall App different versions, same ID, unable to uninstall Nov 29, 2023
@mdanish-kh
Copy link
Contributor

This is a known issue with side-by-side installations and unfortunately WinGet does not handle this scenario all that well in its current implementation.

You'll have to manually uninstall the older version from appwiz.cpl. After that the uninstall command will work as expected with a single installed version of the package.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Side-by-Side Issue related to side by side package installation label Nov 29, 2023
@stephengillie stephengillie added Area-Matching Issue related to correlation between installed package and manifest and removed Needs-Triage Issue need to be triaged labels Nov 29, 2023
@denelon
Copy link
Contributor

denelon commented Apr 2, 2024

We've been working on the side-by-side scenarios. You could try the latest release and enable the experimental feature on:

Please provide feedback at:

@denelon
Copy link
Contributor

denelon commented Jul 3, 2024

You should now be able to uninstall a specific version of a package using WinGet 1.8.

@denelon denelon closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Matching Issue related to correlation between installed package and manifest Side-by-Side Issue related to side by side package installation
Projects
None yet
Development

No branches or pull requests

4 participants