microsoft / microsoft/winget-cli
Upgrade claims installer type changed while it hasn't
Nobody has claimed this yet.
- 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
Steps to reproduce
- Install version 5.1.5998 of "BelgianGovernment.eIDViewer"
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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