-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Package Issue]: Microsoft.PowerShell #127283
Comments
I downloaded PowerShell 7.4 manually from Microsoft and installed it, and Winget now insists that both 7.3.9 and 7.4 are installed. Telling it to uninstall 7.3.9 results in 7.4 being uninstalled. When I then try to run Powershell it reports a 5.x version. Meanwhile, Winget still insists that 7.3.9 is installed. What a disaster! Edit: After uninstalling the ghost 7.3.9 entry and then rerunning the manual 7.4 installer, I think I'm sorted. I can't believe that a Microsoft tool handled updating of another Microsoft tool so incredibly poorly though. |
Weird. The PowerShell team didn't release any burn-based .exe installer before (all of them are wix-based .msi) but now I have two PowerShell entries and one of them is burn-based, making WinGet keep mentioning updates for PowerShell. I went through all the previous PRs for this package but none of them is associated with it. Totally no idea when and how it got into my device. 🤔 |
Similar case here microsoft/winget-cli#3798 |
I guess it was installed by Windows Update. |
OK I got the link to this hidden installer from Windows Update. |
I did what the instruction said, uninstalled via |
I can't find that URL on the package.xml. You might using another third party tools to spot the hidden links. See results: |
All PowerShell releases available on Windows Update: https://www.catalog.update.microsoft.com/Search.aspx?q=PowerShell |
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
Error message when trying to upgrade from 7.3.9.0 to 7.4.0.0:
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.
I need to know if it's actually safe to uninstall PowerShell!
Steps to reproduce
Unknown
Actual behavior
Error message as shown
Expected behavior
Package upgrades successfully
Environment
Screenshots and Logs
Winget logfile says:
Installer [X86,wix,Machine,] not applicable: Installed package type 'exe' is not compatible with installer type wix
The text was updated successfully, but these errors were encountered: