-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Unable to update or uninstall #37306
Comments
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
|
Github suggested a similar issue which is very similar to my issue #31764. In this issue it was suggested to extract the MSI from the update package and run it to uninstall PowerToys, which seems to have worked for the reporter. I attempted to follow those instructions and extract the MSI package with the Wix tool however I receive the following error "dark.exe : error DARK0240 : The file 'Updates' has an unexpected extension. Expected one of the following: '.msi, .msm, .msp, .mst, .exe, .pcp'. Issue Link: #31764 |
Update: The application still appears in the list of Apps & Features, where it still throws an error if I attempt to uninstall it. There are still registry entries for it, and the program files still appear under "C:\Program Files\PowerToys" |
Microsoft PowerToys version
0.86.0.0
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
General
Steps to reproduce
In the General Settings of PowerToys, click the Update button
&
Click Uninstall from Windows Apps & Features
✔️ Expected Behavior
I was expecting PowerToys to update after clicking update
I was expecting PowerToys to uninstall after clicking Uninstall
❌ Actual Behavior
When I click the update now button nothing happens. Watching resource I see that is is launching a file "powertoyssetup-0.88.0-x64.exe". If I launch that file manually I receive an error window (see attachment) informing me that Setup failed, with a link to a log file. The contents of the log file are as follows.
[1638:2B00][2025-02-05T07:21:03]i001: Burn v3.14.1.8722, Windows v10.0 (Build 19045: Service Pack 0), path: C:\Users\rstewart\AppData\Local\Temp{BE92B66E-4F8D-43FA-901B-180D9E2E3202}.cr\powertoyssetup-0.88.0-x64.exe
[1638:2B00][2025-02-05T07:21:03]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles64Folder]PowerToys'
[1638:2B00][2025-02-05T07:21:03]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys'
[1638:2B00][2025-02-05T07:21:03]i000: Initializing version variable 'MinimumVersion' to value '0.0.0.0'
[1638:2B00][2025-02-05T07:21:03]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.88.0'
[1638:2B00][2025-02-05T07:21:03]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[1638:2B00][2025-02-05T07:21:03]i000: Initializing version variable 'DetectedPowerToysUserVersion' to value '0.0.0.0'
[1638:2B00][2025-02-05T07:21:03]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[1638:2B00][2025-02-05T07:21:03]i009: Command Line: '-burn.clean.room=C:\Users\rstewart\AppData\Local\Microsoft\PowerToys\Updates\powertoyssetup-0.88.0-x64.exe -burn.filehandle.attached=720 -burn.filehandle.self=724'
[1638:2B00][2025-02-05T07:21:03]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\rstewart\AppData\Local\Microsoft\PowerToys\Updates\powertoyssetup-0.88.0-x64.exe'
[1638:2B00][2025-02-05T07:21:03]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\rstewart\AppData\Local\Microsoft\PowerToys\Updates'
[1638:2B00][2025-02-05T07:21:03]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\rstewart\AppData\Local\Temp\powertoys-bootstrapper-msi-0.88.0_20250205072103.log'
[1638:2B00][2025-02-05T07:21:03]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) x64'
[1638:2B00][2025-02-05T07:21:03]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[1638:6CD0][2025-02-05T07:21:03]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[1638:6CD0][2025-02-05T07:21:03]i000: Setting version variable 'WixBundleFileVersion' to value '0.88.0.0'
[1638:2B00][2025-02-05T07:21:03]i100: Detect begin, 3 packages
[1638:2B00][2025-02-05T07:21:03]i000: Setting version variable 'DetectedPowerToysUserVersion' to value '0.86.0.0'
[1638:2B00][2025-02-05T07:21:03]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.87.1.0'
[1638:2B00][2025-02-05T07:21:03]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '19045'
[1638:2B00][2025-02-05T07:21:03]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[1638:2B00][2025-02-05T07:21:03]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[1638:2B00][2025-02-05T07:21:03]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1
[1638:2B00][2025-02-05T07:21:04]i102: Detected related bundle: {d0661627-9d4d-4b01-a9f1-e7e22eab222f}, type: Upgrade, scope: PerMachine, version: 0.87.1.0, operation: MajorUpgrade
[1638:2B00][2025-02-05T07:21:04]i102: Detected related bundle: {7eb5eb19-d85f-4c0b-94ff-e2947d4cb6fc}, type: Upgrade, scope: PerUser, version: 0.86.0.0, operation: MajorUpgrade
[1638:2B00][2025-02-05T07:21:04]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true.
[1638:2B00][2025-02-05T07:21:04]i103: Detected related package: {58BC4EC6-1441-4E21-9B22-26E79483F347}, scope: PerMachine, version: 0.87.1.0, language: 0 operation: MajorUpgrade
[1638:2B00][2025-02-05T07:21:04]i103: Detected related package: {58BC4EC6-1441-4E21-9B22-26E79483F347}, scope: PerMachine, version: 0.87.1.0, language: 0 operation: MajorUpgrade
[1638:2B00][2025-02-05T07:21:04]i101: Detected package: TerminatePowerToys, state: Absent, cached: None
[1638:2B00][2025-02-05T07:21:04]i101: Detected package: WebView2, state: Present, cached: None
[1638:2B00][2025-02-05T07:21:04]i101: Detected package: PowerToysSetup_0.88.0_x64.msi, state: Absent, cached: None
[1638:2B00][2025-02-05T07:21:04]i052: Condition 'MinimumVersion >= DetectedPowerToysUserVersion' evaluates to false.
[1638:2B00][2025-02-05T07:21:04]e000: PowerToys is already installed on this system for current user. We recommend first uninstalling that version before installing this one.
[1638:2B00][2025-02-05T07:21:04]e000: Error 0x81f40001: Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysUserVersion
[1638:2B00][2025-02-05T07:21:04]i199: Detect complete, result: 0x0
When I try to uninstall PowerToys to reinstall.
Other Software
No response
The text was updated successfully, but these errors were encountered: