Skip to content

Installed app silently omitted from list --upgrade-available / upgrade when two or more packages share its ProductCode or UpgradeCode #6717

Backlog

Description

Relevant area(s)

WinGet CLI

Relevant command(s)

winget list, winget upgrade

Brief description of your issue

If an installed app's ARP entry matches two or more packages on a strong field (ProductCode, UpgradeCode, PackageFamilyName), winget list --upgrade-available and winget upgrade silently leave it out. Nothing is printed; only the log (default level) shows it:

<I> [REPO] Found multiple matches for installed package [ARP\Machine\X86\{B7C5EA94-B96A-41F5-BE95-25D78B486678}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] ...
<I> [REPO]   Checking match with package id: Splashtop.SplashtopStreamer
<I> [REPO]   Checking match with package id: Splashtop.SplashtopStreamer.Deployment
<I> [REPO]   Found multiple packages with strong match fields
<W> [REPO]   Appropriate available package could not be determined

winget list --id <pkg> --exact finds the same install and offers the upgrade. Apps installed through winget are not affected because the tracking record picks the package, so this hits apps installed with the vendor's own installer.

Related: #2385, #6700 (same log lines), #3696, #4158. I found no issue proposing a tie-break.

Steps to reproduce

Splashtop Streamer (one MSI ProductCode declared by three packages), clean Windows 11, interactive elevated admin user (also reproduced as SYSTEM):

  1. Run Splashtop_Streamer_Win_INSTALLER_v3.8.4.1.exe prevercheck /s /i hidewindow=1 (https://download.splashtop.com/win/Splashtop_Streamer_Win_INSTALLER_v3.8.4.1.exe).
  2. winget list --upgrade-available --include-unknown --include-pinned --accept-source-agreements: Splashtop is missing (other upgrades are listed).
  3. winget list --id Splashtop.SplashtopStreamer --exact: shows 3.8.4.1 → 3.8.6.3.
  4. Control: winget install --id Splashtop.SplashtopStreamer --version 3.8.4.1 --force, then step 2 lists it. Move the user's installed.db aside and it is missing again.

The same happens (reproduced as SYSTEM, vendor installers, same log pattern) for:

  • Webex 46.2.1.34187 MSI: UpgradeCode {B9DCA8E9-B3A9-419A-9D6F-9BC3557EE72C} is shared by Cisco.Webex and Telekom.CloudPBX; the ProductCode is unique to Cisco.Webex.
  • Firefox 158.0: ARP key Mozilla Firefox is (correctly) the ProductCode of Mozilla.Firefox and all 100 Mozilla.Firefox.<locale> packages.
  • Citrix Workspace 2603: CitrixOnlinePluginPackWeb is declared by Citrix.Workspace and Citrix.Workspace.LTSR.

Expected behavior

  1. At least say so, e.g. "1 installed package matches more than one package and was not checked: Splashtop Streamer (Splashtop.SplashtopStreamer, Splashtop.SplashtopStreamer.Deployment). Use --id."
  2. Better, break the tie before giving up, conservatively:
    • A ProductCode/PFN match beats an UpgradeCode-only match (resolves Webex). Each package already keeps the first field it matched on (ResultMatch::MatchCriteria).
    • Then normalized name + publisher agreement (would have resolved Chrome EXE vs Beta/Dev EXE before winget-pkgs#487765).
    • Otherwise stay ambiguous (Firefox locales, Citrix CR vs LTSR): picking one there would change the language or the release track.

Actual behavior

The app is missing from the list with no message; upgrade --all skips it. Code: FindOnlyStrongMatchFieldResult stops at the second strong match and returns nothing; GetMatchingPackage and the call site only log it.

Environment

Windows Package Manager v1.29.380
Windows: Windows.Desktop v10.0.26200.8875
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.379.0

Activity

  1. added
    Needs-Triage
    Command-List
    Command-Upgrade
    on Nov 26, 2026
  2. Venkatasai200628 commented on Nov 27, 2026

    @Venkatasai200628

    Hi Stan Ivanov (@stan-threatmate) ,

    I'd like to take ownership of this issue and contribute a fix.

    I've gone through the reproduction steps and the relevant implementation, particularly FindOnlyStrongMatchFieldResult and GetMatchingPackage in CompositeSource.cpp.

    My proposed approach would be:

    1. Investigate the matching logic: Understand how ResultMatch::MatchCriteria is currently used when multiple packages match an installed application's ARP entry.
    2. Introduce conservative disambiguation: Prefer more specific matches, such as ProductCode or PackageFamilyName, over UpgradeCode-only matches. Where necessary, use normalized name and publisher agreement as additional signals.
    3. Preserve ambiguous cases: Avoid selecting an arbitrary package when multiple candidates remain indistinguishable, particularly in cases involving language variants or different release tracks.
    4. Improve visibility: Ensure unresolved matches are communicated clearly rather than silently omitted from upgrade results.
    5. Add regression tests: Cover the reported scenarios, including Splashtop, Webex, Firefox and Citrix, to verify both correct package selection and ambiguity handling.

    I'll also make sure the changes remain compatible with the existing package matching behaviour and include the relevant tests.

    Would it be possible to assign this issue to me? I'd be happy to discuss the proposed approach and adjust the implementation based on your feedback before proceeding.

    Thanks!

  3. stan-threatmate commented on Nov 27, 2026

    @stan-threatmate
    Author

    Venkata Sai (@Venkatasai200628) Assignment is up to the maintainers. If you pick it up, the Expected section above is the behavior I'd hope for, and the Splashtop steps reproduce it on a clean VM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-ListCommand-UpgradeNeeds-Triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions