Skip to content
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

Cannot upgrade and cannot uninstall #32650

Open
Alfacharlie1973 opened this issue Apr 28, 2024 · 10 comments
Open

Cannot upgrade and cannot uninstall #32650

Alfacharlie1973 opened this issue Apr 28, 2024 · 10 comments
Labels
Area-Setup/Install Refers to installation mechanism Issue-Bug Something isn't working Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@Alfacharlie1973
Copy link

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

@Alfacharlie1973 Alfacharlie1973 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 28, 2024
Copy link

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!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@davidegiacometti davidegiacometti added the Area-Setup/Install Refers to installation mechanism label Apr 30, 2024
@mikex99
Copy link

mikex99 commented May 3, 2024

I'm having the same issue.

@Alfacharlie1973
Copy link
Author

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

@Alfacharlie1973
Copy link
Author

Alfacharlie1973 commented May 14, 2024

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.

@Aaron-Junker
Copy link
Collaborator

Aaron-Junker commented Jun 15, 2024

Can you try downloading the installer (https://github.com/microsoft/PowerToys/releases) for your version (Try using PowerToysUserSetup and if this doesn't work PowerToysSetup). This should give you an option to uninstall. Please tell me if it works. /needinfo

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jun 15, 2024
@Alfacharlie1973
Copy link
Author

I just tried with both the Machine-wide and user versions (v81.1) and I got the exact same error.

I spent an hour with the support team in my company trying to remove all traces of PowerToys, however, the logs show that 0.78 seems to be installed.

I also do not yet understand why the logs close with an error about Minimum Version (0.0.0) not being higher than Detected Version (0.78.0)

@Aaron-Junker
Copy link
Collaborator

I just tried with both the Machine-wide and user versions (v81.1) and I got the exact same error.

I spent an hour with the support team in my company trying to remove all traces of PowerToys, however, the logs show that 0.78 seems to be installed.

I also do not yet understand why the logs close with an error about Minimum Version (0.0.0) not being higher than Detected Version (0.78.0)

Can you try it with the 0.78 installer specifically?

/needinfo

@Alfacharlie1973
Copy link
Author

I tried again with the 0.78 installer and got the very same 'unsuccessful' outcome

powertoys-bootstrapper-msi-0.78.0_20240616023928.log

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jun 16, 2024
@mikex99
Copy link

mikex99 commented Jun 16, 2024

I just did an old fashioned registry and file system purge of powertoys and I was able to upgrade no problem.

@Alfacharlie1973
Copy link
Author

Alfacharlie1973 commented Jun 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Setup/Install Refers to installation mechanism Issue-Bug Something isn't working Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams
Projects
Status: No status
Development

No branches or pull requests

4 participants