Skip to content

Fix WinGet uninstall failing for ARP/MSIX/Steam/GOG packages#4745

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
FixUninstallVirtualMangers
May 11, 2026
Merged

Fix WinGet uninstall failing for ARP/MSIX/Steam/GOG packages#4745
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
FixUninstallVirtualMangers

Conversation

@GabrielDuf
Copy link
Copy Markdown
Contributor

Summary

  • Packages detected only via ARP/MSIX (Local PC, MicrosoftStore, Steam, GOG, Android Subsystem, Ubisoft Connect) failed to uninstall with No installed package found matching the query, because UniGetUI forced --source winget on every virtual source — scoping pinget's lookup to the WinGet repository, where these packages don't exist.
  • Now, when the package source is a LocalWinGetSource(IsVirtualManager = true), --source is omitted so pinget WinGet resolves against the installed-packages list (ARP/MSIX) instead.
  • Real winget/msstore repo packages are unaffected: they still receive --source <name> as before. As an incidental cleanup, real-source uninstalls now pass their actual source name (e.g. --source msstore) instead of being hardcoded to winget.

@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit 178c32d into main May 11, 2026
3 checks passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the FixUninstallVirtualMangers branch May 11, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants