Open Alfacharlie1973 opened 3 weeks ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I'm having the same issue.
Looking into the logs the issue seems to related to the installation variable MinimumVersion
At the beginning of the installation it is set to 0: Initializing version variable 'MinimumVersion' to value '0.0.0.0' It then detects that version 0.78 is present (even if I have tried to delete manually every trace of PowerToys in my computer) Setting version variable 'DetectedPowerToysUserVersion' to value '0.78.0.0' And then it fails because the detected version is higher than the minimum one Condition 'MinimumVersion >= DetectedPowerToysVersion' evaluates to false. PowerToys is already installed on this system for all users. We recommend first uninstalling that version before installing this one. Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysVersion
On Sunday, I decided to manually delete all traces of PowerToys in my computer. Deleted folders, entries in the registry and a number of other odd locations where data/files were being stored. I was still unable to install the new version so I just left it there. I rebooted my computer today as part of other updates being installed and, somehow, the 0.78 version has reinstalled. What triggered it, I cannot explain. Trying to install 0.80.1 still fails.
Microsoft PowerToys version
0.78.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Installer
Steps to reproduce
Powertoys shows that a new version is available (0.80.1), when I try to install from the General Tab, I get the following error "An error occurred trying to install this update". if I click on try again to download and install, the application closes down and nothing happens.
I have then tried to install by downloading from Github. I tried both the Machine wide and per user installations. Both of them lead to the same error "PowerToys is already installed on this system for current user. We recommend first uninstalling that version before installing this one."
I then went to Settings in Win 11 to uninstall the current version. Surprisingly it appears twice (both of them having been installed on the same date). When I try to uninstall I get exactly the same error as above.
Attached are the logs from both processes. I just changed the name of the user folder for confidentiality reasons (but the structure of the name is consistent).
powertoys-bootstrapper-msi-0.78.0_20240428171545 - Uninstall failed.txt
powertoys-bootstrapper-msi-0.80.1_20240428171947 - Install failed.txt
✔️ Expected Behavior
Successful uninstall / install
❌ Actual Behavior
Detailed already in steps above. "PowerToys is already installed on this system for current user. We recommend first uninstalling that version before installing this one."
Other Software
No response