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

Can't install v0.78, can't uninstall current version (v0.76.2) #31298

Open
santiago-afonso opened this issue Feb 5, 2024 · 2 comments
Open
Labels
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

@santiago-afonso
Copy link

santiago-afonso commented Feb 5, 2024

Microsoft PowerToys version

0.76.2

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Installer

Steps to reproduce

I cannot install v0.78, can't uninstall current version (v0.76.2).

When I try to install within PowerToys 0.78 either from within the currently installed version (v0.76.2) or the PowerToysSetup-0.78.0-x64.exe downloaded from GitHub, the installer requests the file PowerToysSetup-0.75.1-x64.msi
image

I never installed manually 0.75.1, I installed previous versions and always updated from within PowerToys. In the old control panel Add/remove programs, 0.76.2 showed up. I tried to uninstall it, it gave me an error and the entry disappeared: there is no PowerToys in the add/remove programs list currently (although 0.76.2 is installed and running).

I tried then to uninstall PowerToys using winget, and I get an error:

C:\Users\osnofas>winget uninstall powertoys
No installed package found matching input criteria.

C:\Users\osnofas>winget install --id=Microsoft.PowerToys  -e
Found PowerToys (Preview) [Microsoft.PowerToys] Version 0.78.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1
Installer log is available at: C:\Users\osnofas\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.PowerToys.0.78.0-2024-02-05-16-05-41.959.log

I'm attaching the winget log: WinGet-Microsoft.PowerToys.0.78.0-2024-02-05-15-55-49.194.log

I then used an uninstaller program (BCUninstaller) to trigger the uninstaller for the installed version of PowerToys (which BCUninstaller lists as 0.75.1), but it also fails. I attach the log: powertoys-bootstrapper-msi-0.75.1_20240205162751.log BCUinstaller is supposed to clean up leftovers from incomplete uninstallers, but it apparently fails in this case.

After all of this, I try running PowerToysSetup-0.78.0-x64.exe, and it fails again due to the 0.75.1 installation. I'm attaching the log:
powertoys-bootstrapper-msi-0.78.0_20240205163740.log

This is a Windows 10 19045 machine. Only I use this computer and have admin rights.

Why are there so many references to 0.75.1 when the PowerToys UI says its on version 0.76.2? No idea.

I've tried running PowerToysSetup-0.75.1-x64.exe --extract_msi but no msi file is produced.

Please see also #1490, it seems related

✔️ Expected Behavior

Installation of v0.78 suceeds

❌ Actual Behavior

Installation fails

Other Software

No response

@santiago-afonso santiago-afonso added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 5, 2024
@crutkas
Copy link
Member

crutkas commented Feb 7, 2024

Get the MSI via https://learn.microsoft.com/en-us/windows/powertoys/install#extracting-the-msi-from-the-bundle

Wondering why you thought --extract_msi is a command?

did this resolve it?

/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 Feb 7, 2024
@santiago-afonso
Copy link
Author

Wondering why you thought --extract_msi is a command?

Because of this comment #27583 (comment)

did this resolve it?

No. I resolved it by manually erasing references to PowerToys in the registry. This problem has been going on for a long time, apparently, by the number of almost identical questions on the internet. I think that I erased the references under Computer\HKEY_CLASSES_ROOT\Installer\Products\

/needinfo

@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 Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
None yet
Development

No branches or pull requests

2 participants