PowerToys: Can't install 0.58.0

Microsoft PowerToys version

0.58.0

Running as admin

  • Yes

Area(s) with issue?

Installer

Steps to reproduce

  • Download installer from GitHub and run install.
  • Enter account/password when prompted for elevated privilege

Installer runs but does not complete. Displays error shown below.

✔️ Expected Behavior

installer succeeds.

❌ Actual Behavior

image

log file from install:

[530C:4580][2022-05-04T08:07:14]i001: Burn v3.11.2.4516, Windows v10.0 (Build 19043: Service Pack 0), path: C:\Users\mward\AppData\Local\Temp\{37B34DCC-7624-42D2-A79F-25E123E7D22C}\.cr\PowerToysSetup-0.58.0-x64.exe
[530C:4580][2022-05-04T08:07:14]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles64Folder]PowerToys'
[530C:4580][2022-05-04T08:07:14]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys\'
[530C:4580][2022-05-04T08:07:14]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[530C:4580][2022-05-04T08:07:14]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.58.0'
[530C:4580][2022-05-04T08:07:14]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[530C:4580][2022-05-04T08:07:14]i009: Command Line: '-burn.clean.room=C:\Users\mward\Desktop\PowerToysSetup-0.58.0-x64.exe -burn.filehandle.attached=700 -burn.filehandle.self=728'
[530C:4580][2022-05-04T08:07:14]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\mward\Desktop\PowerToysSetup-0.58.0-x64.exe'
[530C:4580][2022-05-04T08:07:14]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\mward\Desktop\'
[530C:4580][2022-05-04T08:07:14]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\mward\AppData\Local\Temp\powertoys-bootstrapper-msi-0.58.0_20220504080714.log'
[530C:4580][2022-05-04T08:07:14]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) x64'
[530C:4580][2022-05-04T08:07:14]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[530C:4E7C][2022-05-04T08:07:15]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[530C:4E7C][2022-05-04T08:07:15]i000: Setting version variable 'WixBundleFileVersion' to value '0.58.0.0'
[530C:4580][2022-05-04T08:07:15]i100: Detect begin, 4 packages
[530C:4580][2022-05-04T08:07:15]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.57.2.0'
[530C:4580][2022-05-04T08:07:15]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '19043'
[530C:4580][2022-05-04T08:07:15]i000: Setting numeric variable 'HasDotnet604' to value 1
[530C:4580][2022-05-04T08:07:15]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[530C:4580][2022-05-04T08:07:15]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[530C:4580][2022-05-04T08:07:15]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1
[530C:4580][2022-05-04T08:07:15]i102: Detected related bundle: {02c826f6-ff1b-4faf-b3c7-57a0e1cd8153}, type: Upgrade, scope: PerMachine, version: 0.57.2.0, operation: MajorUpgrade
[530C:4580][2022-05-04T08:07:15]i052: Condition 'HasDotnet604' evaluates to true.
[530C:4580][2022-05-04T08:07:15]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true.
[530C:4580][2022-05-04T08:07:15]i103: Detected related package: {504D817D-2ED1-4914-84D5-510D314AAD40}, scope: PerMachine, version: 0.57.2.0, language: 0 operation: MajorUpgrade
[530C:4580][2022-05-04T08:07:15]i103: Detected related package: {504D817D-2ED1-4914-84D5-510D314AAD40}, scope: PerMachine, version: 0.57.2.0, language: 0 operation: MajorUpgrade
[530C:4580][2022-05-04T08:07:15]i101: Detected package: DotnetRuntime6, state: Present, cached: None
[530C:4580][2022-05-04T08:07:15]i101: Detected package: WebView2, state: Present, cached: None
[530C:4580][2022-05-04T08:07:15]i101: Detected package: WinAppSDK101, state: Absent, cached: None
[530C:4580][2022-05-04T08:07:15]i101: Detected package: PowerToysSetup_0.58.0_x64.msi, state: Absent, cached: Complete
[530C:4580][2022-05-04T08:07:15]i052: Condition 'TargetPowerToysVersion >= DetectedPowerToysVersion OR WixBundleInstalled' evaluates to true.
[530C:4580][2022-05-04T08:07:15]i052: Condition 'DetectedWindowsBuildNumber >= 18362 OR WixBundleInstalled' evaluates to true.
[530C:4580][2022-05-04T08:07:15]i199: Detect complete, result: 0x0
[530C:4E7C][2022-05-04T08:07:19]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[530C:4580][2022-05-04T08:07:19]i200: Plan begin, 4 packages, action: Install
[530C:4580][2022-05-04T08:07:19]w321: Skipping dependency registration on package with no dependency providers: DotnetRuntime6
[530C:4580][2022-05-04T08:07:19]w321: Skipping dependency registration on package with no dependency providers: WebView2
[530C:4580][2022-05-04T08:07:19]w321: Skipping dependency registration on package with no dependency providers: WinAppSDK101
[530C:4580][2022-05-04T08:07:19]i000: Setting string variable 'WixBundleLog_WinAppSDK101' to value 'C:\Users\mward\AppData\Local\Temp\powertoys-bootstrapper-msi-0.58.0_20220504080714_000_WinAppSDK101.log'
[530C:4580][2022-05-04T08:07:19]i000: Setting string variable 'WixBundleRollbackLog_PowerToysSetup_0.58.0_x64.msi' to value 'C:\Users\mward\AppData\Local\Temp\powertoys-bootstrapper-msi-0.58.0_20220504080714_001_PowerToysSetup_0.58.0_x64.msi_rollback.log'
[530C:4580][2022-05-04T08:07:19]i000: Setting string variable 'WixBundleLog_PowerToysSetup_0.58.0_x64.msi' to value 'C:\Users\mward\AppData\Local\Temp\powertoys-bootstrapper-msi-0.58.0_20220504080714_001_PowerToysSetup_0.58.0_x64.msi.log'
[530C:4580][2022-05-04T08:07:19]i201: Planned package: DotnetRuntime6, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[530C:4580][2022-05-04T08:07:19]i201: Planned package: WebView2, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[530C:4580][2022-05-04T08:07:19]i201: Planned package: WinAppSDK101, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[530C:4580][2022-05-04T08:07:19]i201: Planned package: PowerToysSetup_0.58.0_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[530C:4580][2022-05-04T08:07:19]i207: Planned related bundle: {02c826f6-ff1b-4faf-b3c7-57a0e1cd8153}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[530C:4580][2022-05-04T08:07:19]i299: Plan complete, result: 0x0
[530C:4580][2022-05-04T08:07:19]i300: Apply begin
[530C:4580][2022-05-04T08:07:19]i010: Launching elevated engine process.
[530C:4580][2022-05-04T08:07:40]i011: Launched elevated engine process.
[530C:4580][2022-05-04T08:07:41]i012: Connected to elevated engine.
[2DAC:5354][2022-05-04T08:07:41]i358: Pausing automatic updates.
[2DAC:5354][2022-05-04T08:07:41]i359: Paused automatic updates.
[2DAC:5354][2022-05-04T08:07:41]i360: Creating a system restore point.
[2DAC:5354][2022-05-04T08:07:41]i361: Created a system restore point.
[2DAC:5354][2022-05-04T08:07:41]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, options: 0x7, disable resume: No
[2DAC:5354][2022-05-04T08:07:41]i000: Caching bundle from: 'C:\Users\mward\AppData\Local\Temp\{FF8207C2-FAF9-471D-99F7-14B588C44DF4}\.be\PowerToysSetup-0.58.0-x64.exe' to: 'C:\ProgramData\Package Cache\{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}\PowerToysSetup-0.58.0-x64.exe'
[2DAC:5354][2022-05-04T08:07:41]i320: Registering bundle dependency provider: {7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, version: 0.58.0.0
[2DAC:5354][2022-05-04T08:07:41]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, resume: Active, restart initiated: No, disable resume: No
[530C:3154][2022-05-04T08:07:41]w343: Prompt for source of package: WinAppSDK101, payload: WinAppSDK101, path: C:\Users\mward\Desktop\WindowsAppRuntimeInstall.exe
[530C:3154][2022-05-04T08:07:41]i338: Acquiring package: WinAppSDK101, payload: WinAppSDK101, download from: https://aka.ms/windowsappsdk/1.0/1.0.3/windowsappruntimeinstall-1.0.3-x64.exe
[2DAC:2A44][2022-05-04T08:07:51]i305: Verified acquired payload: WinAppSDK101 at path: C:\ProgramData\Package Cache\.unverified\WinAppSDK101, moving to: C:\ProgramData\Package Cache\1269BB136655325EF6D66A018269BDAB3921E56B\WindowsAppRuntimeInstall.exe.
[2DAC:2A44][2022-05-04T08:07:52]i304: Verified existing payload: PowerToysSetup_0.58.0_x64.msi at path: C:\ProgramData\Package Cache\{C5616D86-7D4E-460E-B673-B6BB68159B17}v0.58.0\PowerToysSetup-0.58.0-x64.msi.
[2DAC:5354][2022-05-04T08:07:52]i301: Applying execute package: WinAppSDK101, action: Install, path: C:\ProgramData\Package Cache\1269BB136655325EF6D66A018269BDAB3921E56B\WindowsAppRuntimeInstall.exe, arguments: '"C:\ProgramData\Package Cache\1269BB136655325EF6D66A018269BDAB3921E56B\WindowsAppRuntimeInstall.exe"'
[2DAC:5354][2022-05-04T08:07:54]e000: Error 0x80073d19: Process returned error: 0x80073d19
[2DAC:5354][2022-05-04T08:07:54]e000: Error 0x80073d19: Failed to execute EXE package.
[530C:4580][2022-05-04T08:07:54]e000: Error 0x80073d19: Failed to configure per-machine EXE package.
[530C:4580][2022-05-04T08:07:54]i319: Applied execute package: WinAppSDK101, result: 0x80073d19, restart: None
[530C:4580][2022-05-04T08:07:54]e000: Error 0x80073d19: Failed to execute EXE package.
[2DAC:5354][2022-05-04T08:07:54]i351: Removing cached package: WinAppSDK101, from path: C:\ProgramData\Package Cache\1269BB136655325EF6D66A018269BDAB3921E56B\
[2DAC:5354][2022-05-04T08:07:54]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, resume: None, restart: None, disable resume: No
[2DAC:5354][2022-05-04T08:07:54]i330: Removed bundle dependency provider: {7f0d7424-d132-4aaf-baa9-5d7d436f0feb}
[2DAC:5354][2022-05-04T08:07:54]i352: Removing cached bundle: {7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, from path: C:\ProgramData\Package Cache\{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}\
[2DAC:5354][2022-05-04T08:07:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7f0d7424-d132-4aaf-baa9-5d7d436f0feb}, resume: None, restart initiated: No, disable resume: No
[530C:4580][2022-05-04T08:07:55]i399: Apply complete, result: 0x80073d19, restart: None, ba requested restart:  No

Other Software

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 30 (4 by maintainers)

Most upvoted comments

This is a really long thread mixing multiple issues:

#1 The original message said failure due to error 0x80073d19 == ERROR_DEPLOYMENT_BLOCKED_BY_USER_LOG_OFF. That error code had a text message of “An error occurred because a user was logged off” which is a bit misleading. A more recent definition is more helpful:

The deployment operation was blocked because Special profile deployment is not allowed. Please try logging into an account that is not a Special profile. You can try logging out and logging back into the current account, or try logging into a different account.

By default, Windows blocks deployment operations on special profiles. The term ‘special profile’ will cover roaming profiles, mandatory and super-mandatory profiles, temporary profiles and guest account profiles. Usually, it is recommended that you don’t allow deployment on such user profiles. You can find more information about AllowDeploymentInSpecialProfiles here.

But remember, this isn’t recommended. Installing packages in special profiles and then logging out and logging in with a different profile (special or not) can result in broken installations due to torn data – some of that installation information was in that special profile when you installed and is now gone when you logged with a different profile.

#2 Provisioning result : 0x80070005 Access is denied. - That’s a false but harmless error. The installer blindly tried to provision the package for all users, reporting but ignoring errors. This is commonly seen as pkgmgr.ProvisionPackageForAllUsersAsync() requires admin privilege and thus lacking it == ErrorAccessDenied. You don’t need to run the installer with admin privilege to successfully install. Known issue fixed in WindowsAppSDK’s 1.1 installer.

#3 0x80073cff = ERROR_INSTALL_POLICY_FAILURE installing DDLM packages:

Deploying package: Microsoft.WinAppRuntime.DDLM.3.469.1654.0-x6_3.469.1654.0_x64__8wekyb3d8bbwe Package deployment result : 0x80073cff To install this application you need either a Windows developer license or a sideloading-enabled system. One or more install operations failed. Result: 0x80073cff`

This occurs because the DDLM packages are Microsoft-signed (not Microsoft-Store-signed) which requires sideloading is allowed. This is enabled in desktop by default but the policy can be disabled by administrators (and it’s disabled by default on server, in case you’re installing there). This is a known issue under active discussion. See https://github.com/microsoft/WindowsAppSDK/issues/2469 for more details.

Thanks @pearson , Errors do seem different, though. Yours was access denied, so it makes sense that running as admin would fix it.