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 install PT #34299

Open
FlyBoru opened this issue Aug 14, 2024 · 6 comments
Open

Cannot install PT #34299

FlyBoru opened this issue Aug 14, 2024 · 6 comments
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

@FlyBoru
Copy link

FlyBoru commented Aug 14, 2024

Microsoft PowerToys version

UNKNOWN

Installation method

Microsoft Store, WinGet

Running as admin

Yes

Area(s) with issue?

General

Steps to reproduce

PT not listed as installed,
System Win 10 , Ver 22H2, OS 19045.4651

✔️ Expected Behavior

Tried to install via MS Store, and PS using Winget, both result in failure to install.
Log shows that it detects a previous version

❌ Actual Behavior

[1164:0FFC][2024-08-14T18:13:24]i101: Detected package: TerminatePowerToys, state: Absent, cached: None
[1164:0FFC][2024-08-14T18:13:24]i101: Detected package: WebView2, state: Present, cached: None
[1164:0FFC][2024-08-14T18:13:24]i101: Detected package: PowerToysUserSetup_0.83.0_x64.msi, state: Absent, cached: None
[1164:0FFC][2024-08-14T18:13:24]i052: Condition 'MinimumVersion >= DetectedPowerToysVersion' evaluates to false.
[1164:0FFC][2024-08-14T18:13:24]e000: PowerToys is already installed on this system for all users. We recommend first uninstalling that version before installing this one.
[1164:0FFC][2024-08-14T18:13:24]e000: Error 0x81f40001: Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysVersion
[1164:0FFC][2024-08-14T18:13:24]i199: Detect complete, result: 0x0

Other Software

No response

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

crutkas commented Aug 14, 2024

The error is it is saying you have a machine wide install of PowerToys already. Could it have been installed via a different user maybe? Does C:\Program Files\PowerToys exist? /needinfo

this line is why i believe a machine wide was done and Store is a per-user only.
PowerToys is already installed on this system for all users. We recommend first uninstalling that version before installing this one.
WinGet should detect user vs machine wide however

image

@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 Aug 14, 2024
@FlyBoru
Copy link
Author

FlyBoru commented Aug 14, 2024

Does C:\Program Files\PowerToys exist? / no
WinGet should detect user vs machine wide however . Winget downloaded PT but install fails with same error

@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 Aug 14, 2024
@FlyBoru
Copy link
Author

FlyBoru commented Aug 14, 2024

When trying to install from link above, error
The older version on PowerToys Preview cannot be removed. Contact your technical support group.
Using reg scanner, no entries found relating to powertoys.

@FlyBoru
Copy link
Author

FlyBoru commented Aug 14, 2024

Fatal error during installation 0x80070643

@FlyBoru
Copy link
Author

FlyBoru commented Aug 15, 2024

Any help appreciated

@ttrafelet
Copy link

on PowerToys Preview cannot be removed. Contact your technical support group.
Using reg scanner, no entries found relating to powertoys.

Do you have further details on the error message?

I had similar issues before where the installation got messed up. In such cases, I had to download the installer for the supposedly installed version again, extract the embedded MSI using dark.exe from WiX3, and then uninstalling using the MSI. (using: dark.exe <path to PT installer exe> -x . -> MSI is within folder AttachedContainer)
In these cases the installer log would show it could not find a MSI somewhere in %localappdata%\Package Cache\{some uuid}.

I guess this only works when there is at least some sort of trace left of the other version.
The Windows' installed apps screen does not show an entry for PT, right?

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
Status: No status
Development

No branches or pull requests

3 participants