microsoft / microsoft/winget-cli

Upgrade claims installer type changed while it hasn't

Open
#3,295 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

When trying to upgrade the package "BelgianGovernment.eIDViewer" from version 5.1.5998 to version 5.1.6019, winget claims that the installer type changed.
However when querying the information of both versions it clearly shows the same installer type. See screenshot below
image

Steps to reproduce
  1. Install version 5.1.5998 of "BelgianGovernment.eIDViewer"
  2. Try upgrading to version 5.1.6019 (currently the latest version)
Expected behavior

The upgrade to be installed successfully.

Actual behavior

The upgrade fails with the text:

A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version.

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

Windows: Windows.Desktop v10.0.19045.2965
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the upgrade from BelgianGovernment.eIDViewer 5.1.5998 to 5.1.6019 using the reported winget and Windows versions, then inspect how the CLI compares installer types for the two versions. Done means the upgrade succeeds without requiring an uninstall, with regression coverage for this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.