[Package Issue]: Microsoft.PowerShell 7.7.0.0 changes installer type from MSI (wix/burn) to MSIX under the same package identifier
Please confirm these before moving forward
- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
Different install technology.
Brief description of your issue
Up to 7.6.10.0, Microsoft.PowerShell installs a per-machine MSI at C:\Program Files\PowerShell\7. Version 7.7.0.0 has only an msix installer (PowerShell-7.7.0.msixbundle), because upstream no longer ships an MSI for 7.7. It is published under the same identifier, so every machine with the MSI installed is offered 7.7.0.0 as an upgrade. Taking it means uninstalling the MSI and installing a per-user MSIX in a versioned WindowsApps folder: a migration to a different install technology, scope and path, presented as a version bump.
Steps to reproduce
- Have PowerShell 7.6.10.0 installed from this package (per-machine,
C:\Program Files\PowerShell\7). winget show --id Microsoft.PowerShell --exactreports Version 7.7.0.0, Installer Type msix, and the package is listed as upgradable.- Take the upgrade. In my case a front end for winget (UniGetUI 2026.3.4) processed it as an uninstall followed by an install, on 2026-11-13:
- 10:14:42
winget uninstall --id Microsoft.PowerShell --exact --source winget --version 7.6.10.0 - 10:14:43 winget ran
PowerShell-7.6.10-win-x64.exe /uninstall /quietfrom the Package Cache - 10:18:15 MsiInstaller event 1034: PowerShell 7-x64 7.6.10.0 removed
- 10:18:15
winget install --id Microsoft.PowerShell --exact --source winget, which resolved to the 7.7.0 msixbundle
- 10:14:42
- To try to go back, with 7.7.0.0 installed run:
winget install --id Microsoft.PowerShell --exact --source winget --version 7.6.10.0 --installer-type wix
Actual behavior
C:\Program Files\PowerShell\7was deleted. Shortcuts and launchers pointing atpwsh.exethere stopped working (Explorer offered to delete them).- A PowerShell 7 process that was running from that folder could no longer load built-in modules:
The 'Set-Location' command was found in the module 'Microsoft.PowerShell.Management', but the module could not be loaded. - PowerShell is now at
C:\Program Files\WindowsApps\Microsoft.PowerShell_7.7.0.0_x64__8wekyb3d8bbwe. The folder name contains the version, so there is no fixed path to repoint anything at. - Step 4 answered: "Found an existing package already installed. Trying to upgrade the installed package... No available upgrade found." There was no way back through winget; I had to fetch the 7.6.10 MSI from the upstream release page by hand.
Expected behavior
A change of installer technology and scope should not reach existing MSI installs as an ordinary upgrade of the same package. Any of:
- Publish the MSIX-only line under its own identifier (for example
Microsoft.PowerShell.MSIX) and leaveMicrosoft.PowerShellon the last line that has an MSI (7.6.x LTS, which upstream still ships as MSI). - Mark the 7.7.0.0 manifest so that installs of a different installer type are not offered it as an upgrade.
- Allow an explicit
--version 7.6.xinstall when a higher MSIX version is present, so there is a supported way back.
Workaround in use: reinstalled the 7.6.10 MSI from the upstream release, removed the MSIX, and pinned with winget pin add --id Microsoft.PowerShell --version 7.6.*.
Related upstream: PowerShell/PowerShell#27565 (MSIX packaging gaps), PowerShell/PowerShell discussion #27292 (MSI deprecation).
Environment
$ winget --info
Windows Package Manager v1.29.380
© 2026 Microsoft. All rights reserved.
Windows: Windows.Desktop v10.0.26300.9974
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.380.0
WinGet Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Enabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
ConfigurationProcessorPath Disabled
DefaultProxy Disabled
Screenshots and Logs
No response
What is going on here @microsoft pwsh recommended installation channel is winget but your winget manifest is ........... bad.