You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow WINGET to automatically change installer technologies instead of installing with error #6459
package(s) have upgrades blocked because newer versions use a different install technology than the current installation. Uninstall each package, then install the newer or specified version.
Proposed technical implementation details
When WINGET detects install technology to be different, allow updating by first uninstalling older version of a product and caching the installed software package name, and then proceed to install it using the version specified via command line or the latest version available.
The issue(s) below may already track your request or bug. Please take a look — if one of them matches, give that issue a 👍 and close this one as a duplicate. Older or curated issues are preferred as the canonical one to follow.
Available in manifest: \30.9.0\ packaged as \msix\ (\install-x64.msix).
Outcome: \winget upgrade --all\ is hard-blocked with the error:
\2 pacchetti hanno aggiornamenti bloccati perché le versioni più recenti utilizzano una tecnologia di installazione diversa rispetto all'installazione corrente. Disinstalla ogni pacchetto, quindi installa la versione più recente.\
**\dokan-dev.Dokany**:
Installed: Burn/EXE bundle (\1.4.1.1000).
Available in manifest: WiX/MSI package (\2.3.1.1000).
Outcome: Same hard block on \winget upgrade --all.
Having an automated migration flag (e.g. \winget upgrade --allow-installer-type-change\ or \winget upgrade --migrate-installer-type) that uninstalls the legacy installer type and installs the new type cleanly would avoid manual registry/MsiExec cleanup.
There are situations where automatically doing the uninstall/install causes user data loss.
If I had an MSI and a bunch of settings/package specific files, they could get lost during uninstallation. The new MSIX variation wouldn't know how to migrate my settings or data.
How about if package maintainers were responsible for providing an upgrade script to handle the settings migration? Or maybe another flag --do-not-preserve-settings-during-installer-migration ?
Activity
github-actions commentedon Aug 12, 2026
Possible duplicate(s):
Thank you for submitting this issue.
The issue(s) below may already track your request or bug. Please take a look — if one of them matches, give that issue a 👍 and close this one as a duplicate. Older or curated issues are preferred as the canonical one to follow.
winget upgrade --allwith installer mismatch #2883 — Requests improved handling whenwinget upgrade --allencounters installer technology mismatch (feature request by a maintainer with the same core ask)winget upgrade --alllists and silently skips app with different installer technology #3817 — Reports thatwinget upgrade --allsilently skips packages with different installer technology, with the same proposed fix of uninstalling and reinstallingTemplate: msftbot/duplicate/surfaced by Duplicate Surfacing
tonicofonico commentedon Aug 27, 2026
Adding real-world reproduction cases with recent manifests:
**\JanDeDobbeleer.OhMyPosh**:
\2 pacchetti hanno aggiornamenti bloccati perché le versioni più recenti utilizzano una tecnologia di installazione diversa rispetto all'installazione corrente. Disinstalla ogni pacchetto, quindi installa la versione più recente.\
**\dokan-dev.Dokany**:
Having an automated migration flag (e.g. \winget upgrade --allow-installer-type-change\ or \winget upgrade --migrate-installer-type) that uninstalls the legacy installer type and installs the new type cleanly would avoid manual registry/MsiExec cleanup.
denelon commentedon Sep 1, 2026
There are situations where automatically doing the uninstall/install causes user data loss.
If I had an MSI and a bunch of settings/package specific files, they could get lost during uninstallation. The new MSIX variation wouldn't know how to migrate my settings or data.
krezol commentedon Sep 1, 2026
How about if package maintainers were responsible for providing an upgrade script to handle the settings migration? Or maybe another flag --do-not-preserve-settings-during-installer-migration ?