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 0.58.0 #18047

Closed
1 task
mike-ward opened this issue May 4, 2022 · 30 comments
Closed
1 task

Can't install 0.58.0 #18047

mike-ward opened this issue May 4, 2022 · 30 comments
Labels
Area-Setup/Install Refers to installation mechanism Issue-Bug Something isn't working Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete.

Comments

@mike-ward
Copy link

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

@mike-ward mike-ward added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 4, 2022
@franky920920 franky920920 added the Area-Setup/Install Refers to installation mechanism label May 4, 2022
@franky920920
Copy link
Contributor

cc: @jaimecbernardo @crutkas: Another issue with WinAppSDK101

@jaimecbernardo
Copy link
Collaborator

@mike-ward @mshtang , Could you please install this first manually to check if it fixes the issue?

https://aka.ms/windowsappsdk/1.0/1.0.3/windowsappruntimeinstall-1.0.3-x64.exe

@mike-ward
Copy link
Author

mike-ward commented May 4, 2022

from admin console:

Installing license: WAR_MAINPACKAGE_LICENSE
Install result : 0x0
Deploying package: Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Deploying package: Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x86__8wekyb3d8bbwe
Package deployment result : 0x0
Deploying package: MicrosoftCorporationII.WindowsAppRuntime.Main.1.0_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Provisioning result : 0x0
Deploying package: Microsoft.WindowsAppRuntime.Singleton_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Provisioning result : 0x0
Deploying package: Microsoft.WinAppRuntime.DDLM.3.469.1654.0-x6_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x80073d19 An error occurred because a user was logged off.
One or more install operations failed. Result: 0x80073d19

@pearson
Copy link

pearson commented May 4, 2022

I'm receiving the same error when attempting a manual install. When updating PowerToys through the PowerToys interface, the install fails quietly -- the install dialog box simply disappears with no error message.

On this system I am logged in as a regular user, and I have a separate administrator level account for authorizing admin functions such as installs. I'm attempting the update from the regular user account with the admin authorization.

@jaimecbernardo , I tried manually installing the [windowsappruntimeinstall-1.0.3-x64.exe, but it fails as a regular user and as admin.

As a regular user (note the All install operations successful. at the end):

C:\Users\Chris\Downloads>WindowsAppRuntimeInstall.exe
Installing license: WAR_MAINPACKAGE_LICENSE
Install result : 0x0
Deploying package: Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Deploying package: Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x86__8wekyb3d8bbwe
Package deployment result : 0x0
Deploying package: MicrosoftCorporationII.WindowsAppRuntime.Main.1.0_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Provisioning result : 0x80070005 Access is denied.
Deploying package: Microsoft.WindowsAppRuntime.Singleton_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Provisioning result : 0x80070005 Access is denied.
Deploying package: Microsoft.WinAppRuntime.DDLM.3.469.1654.0-x6_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Provisioning result : 0x80070005 Access is denied.
Deploying package: Microsoft.WinAppRuntime.DDLM.3.469.1654.0-x8_3.469.1654.0_x86__8wekyb3d8bbwe
Package deployment result : 0x0
Provisioning result : 0x80070005 Access is denied.
All install operations successful.

C:\Users\Chris\Downloads>

In an elevated command prompt on the user account:

C:\Users\Chris\Downloads>WindowsAppRuntimeInstall.exe
Installing license: WAR_MAINPACKAGE_LICENSE
Install result : 0x0
Deploying package: Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x80073d19 An error occurred because a user was logged off.
One or more install operations failed. Result: 0x80073d19

C:\Users\Chris\Downloads>

@pearson
Copy link

pearson commented May 4, 2022

@mike-ward and @jaimecbernardo: as a follow-up to my post, when I logged into the admin account and ran WindowsAppRuntimeInstall.exe from an elevated command prompt, the install went correctly. I then returned to my regular user account and PowerToys updated correctly using the built-in update feature.

I've occasionally seen these sort of edge cases when using separate user and admin accounts.

@jaimecbernardo
Copy link
Collaborator

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

@jaimecbernardo
Copy link
Collaborator

@mike-ward , is your admin user different than the user trying to install it?

@mike-ward
Copy link
Author

Yes, admin/user accounts are different.

@jaimecbernardo
Copy link
Collaborator

That might be it.
Is this something you can try to install manually with your admin account?

@mike-ward
Copy link
Author

mike-ward commented May 4, 2022

The results I posted were from an admin command prompt. Here are the results from the user account:

► WindowsAppRuntimeInstall.exe
Installing license: WAR_MAINPACKAGE_LICENSE
Install result : 0x0
Deploying package: Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Deploying package: Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x86__8wekyb3d8bbwe
Package deployment result : 0x0
Deploying package: MicrosoftCorporationII.WindowsAppRuntime.Main.1.0_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Provisioning result : 0x80070005 Access is denied.
Deploying package: Microsoft.WindowsAppRuntime.Singleton_3.469.1654.0_x64__8wekyb3d8bbwe
Package deployment result : 0x0
Provisioning result : 0x80070005 Access is denied.
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

@pbargiona
Copy link

pbargiona commented May 4, 2022

Similar to microsoft/WindowsAppSDK#2469 and previous #18021, #18023, #18047 have reported this dependency failing to install and causing power toys update or install to fail.

Windows App SDK 1.0.3 seems to be the culprit. This dependency is spitting several different errors.

@pearson
Copy link

pearson commented May 4, 2022

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

@jaimecbernardo , what's odd about this is that it makes a difference whether you're actually logged into an admin account, or whether you're logged in as a regular user but using an admin elevated command prompt.

Given its 0x80073d19 An error occurred because a user was logged off error, perhaps the Windows App SDK 1.0.3 is expecting that the currently logged in account is actually an administrator account, and not an elevated regular user account?

@mshtang
Copy link
Contributor

mshtang commented May 5, 2022

@mike-ward @mshtang , Could you please install this first manually to check if it fixes the issue?

https://aka.ms/windowsappsdk/1.0/1.0.3/windowsappruntimeinstall-1.0.3-x64.exe

I tried to manually install it and got the exact same errors as stated in here.

I don't have a "super" admin account as the computer is managed by corp so I cannot do what is done here.

If this helps: I do have a local admin and can usually install stuff on my machine without any problems. But it didn't work out in this case.

@jaimecbernardo
Copy link
Collaborator

If this helps: I do have a local admin and can usually install stuff on my machine without any problems. But it didn't work out in this case.

@mshtang ,
Does logging in directly into your local admin and running windowsappruntimeinstall-1.0.3-x64 help?

@mshtang
Copy link
Contributor

mshtang commented May 5, 2022

If this helps: I do have a local admin and can usually install stuff on my machine without any problems. But it didn't work out in this case.

@mshtang , Does logging in directly into your local admin and running windowsappruntimeinstall-1.0.3-x64 help?

No, this doesn't work out either.

@jaimecbernardo
Copy link
Collaborator

@mshtang, not sure what to do when you're getting "access denied" while installing a pre-requisite 🤷 .
Is there something you can do at your end?
A local admin account to the computer should be enough to install this, I think.
Can you send a screenshot from running the windowsappruntime installer in an admin command prompt?

@Mercusio
Copy link

Mercusio commented May 6, 2022

Hi,
I don't know if this helps, but I had this exact same issue.
I was able to solve it by first running the Windows App SDK Install through PowerShell opened as admin. It didn't install properly if I right clicked on the exe file and chose Run as administrator.
After that I was able to install PowerToys 0.58 manually successfully (didn't try the auto update).

@SuperNowyNick
Copy link

SuperNowyNick commented May 6, 2022

I've been able to solve the issue by changing "Developer settings" in Windows vide:
image

Logged error message could be more informative on solution

@mwilsonray
Copy link

mwilsonray commented May 9, 2022

Some notes that might help:
Installed versions of Windows App Runtime:

(get-appxpackage *appruntime*).PackageFullName
Microsoft.WindowsAppRuntime.1.1-preview1_1000.447.2307.0_x64__8wekyb3d8bbwe
Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x64__8wekyb3d8bbwe
Microsoft.WindowsAppRuntime.1.0_3.469.1654.0_x86__8wekyb3d8bbwe

I'm getting the 0x80073d19 error, but looking in the Event Viewer under AppLocker (Application and Services Logs -> Windows -> AppLocker -> Package app-Deployment) I see an event id 8025 entry with error:

MicrosoftCorporationII.WindowsAppRuntime.Main.1.0 was prevented from running.

and the XML for the event:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Microsoft-Windows-AppLocker" Guid="{cbda4dbf-8d5d-4f69-9578-be14aa540d22}" /> 
  <EventID>8025</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x1000000000000000</Keywords> 
  <TimeCreated SystemTime="2022-05-09T18:49:23.4896843Z" /> 
  <EventRecordID>577</EventRecordID> 
  <Correlation ActivityID="{59e17f71-5e22-0008-b0b9-f659225ed801}" /> 
  <Execution ProcessID="39476" ThreadID="38828" /> 
  <Channel>Microsoft-Windows-AppLocker/Packaged app-Deployment</Channel> 
  <Computer>abcd</Computer> 
  <Security UserID="S-1-5-qqqq" /> 
  </System>
- <UserData>
- <RuleAndFileData xmlns="http://schemas.microsoft.com/schemas/event/Microsoft.Windows/1.0.0.0">
  <PolicyNameLength>4</PolicyNameLength> 
  <PolicyName>APPX</PolicyName> 
  <RuleId>{00000000-0000-0000-0000-000000000000}</RuleId> 
  <RuleNameLength>1</RuleNameLength> 
  <RuleName>-</RuleName> 
  <RuleSddlLength>1</RuleSddlLength> 
  <RuleSddl>-</RuleSddl> 
  <TargetUser>S-1-5-qqqq</TargetUser> 
  <TargetProcessId>39476</TargetProcessId> 
  <PackageLength>49</PackageLength> 
  <Package>MicrosoftCorporationII.WindowsAppRuntime.Main.1.0</Package> 
  <FqbnLength>149</FqbnLength> 
  <Fqbn>CN=MICROSOFT CORPORATION, O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\MICROSOFTCORPORATIONII.WINDOWSAPPRUNTIME.MAIN.1.0\APPX\3.469.1654.00</Fqbn> 
  </RuleAndFileData>
  </UserData>
  </Event>

@jaimecbernardo
Copy link
Collaborator

@mwilsonray Is it possible to configure AppLocker with an exception for it?

@mwilsonray
Copy link

@jaimecbernardo I'm working on getting the exception approved, but it requires several reviews :-(

@DrusTheAxe
Copy link
Member

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 microsoft/WindowsAppSDK#2469 for more details.

@jaimecbernardo
Copy link
Collaborator

Thanks a lot for your insights here @DrusTheAxe 😄

@jaimecbernardo jaimecbernardo mentioned this issue May 12, 2022
1 task
@jaimecbernardo
Copy link
Collaborator

@jukrb0x, any additional info on what the issue is for you as well? What error code?

@jaimecbernardo
Copy link
Collaborator

@jukrb0x , not sure what you mean, this issue is about being unable to install 0.58. Is that what's happening to you? Or is it #18015 ?

@jukrb0x
Copy link

jukrb0x commented May 26, 2022

@jukrb0x , not sure what you mean, this issue is about being unable to install 0.58. Is that what's happening to you? Or is it #18015 ?

sry for misleading, I did not notice that this issue is about the failure of installation of 0.58... my problem goes around on the #18015

@hagnf
Copy link

hagnf commented Jun 6, 2022

Got it to work by installing it with just a local admin account. If my account is using a microsoft online one it fails.

@jaimecbernardo
Copy link
Collaborator

This should've been fixed alongside #18021 since we're no longer installing Windows App SDK runtimes.

@jaimecbernardo jaimecbernardo added Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jun 8, 2022
@fierymonkey86
Copy link

image

@fierymonkey86
Copy link

[19F8:08FC][2022-11-30T13:34:08]i001: Burn v3.14.0.6526, Windows v10.0 (Build 22621: Service Pack 0), path: C:\WINDOWS\Temp{FD2F6CC2-37C9-4752-AEDD-77BFBE1F9135}.cr\PowerToysSetup-0.64.1-arm64.exe
[19F8:08FC][2022-11-30T13:34:08]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles6432Folder]PowerToys'
[19F8:08FC][2022-11-30T13:34:08]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys'
[19F8:08FC][2022-11-30T13:34:08]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[19F8:08FC][2022-11-30T13:34:08]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.64.1'
[19F8:08FC][2022-11-30T13:34:08]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[19F8:08FC][2022-11-30T13:34:08]i009: Command Line: '"-burn.clean.room=C:\Users\Mario Lim\Downloads\PowerToysSetup-0.64.1-arm64.exe" -burn.filehandle.attached=572 -burn.filehandle.self=548'
[19F8:08FC][2022-11-30T13:34:08]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Mario Lim\Downloads\PowerToysSetup-0.64.1-arm64.exe'
[19F8:08FC][2022-11-30T13:34:08]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Mario Lim\Downloads'
[19F8:08FC][2022-11-30T13:34:08]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Mario Lim\AppData\Local\Temp\powertoys-bootstrapper-msi-0.64.1_20221130133408.log'
[19F8:08FC][2022-11-30T13:34:08]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) ARM64'
[19F8:08FC][2022-11-30T13:34:08]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[19F8:2CCC][2022-11-30T13:34:08]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[19F8:2CCC][2022-11-30T13:34:08]i000: Setting version variable 'WixBundleFileVersion' to value '0.64.1.0'
[19F8:08FC][2022-11-30T13:34:08]i100: Detect begin, 4 packages
[19F8:08FC][2022-11-30T13:34:08]i000: Product or related product not found: {42B84BF7-5FBF-473B-9C8B-049DC16F7708}
[19F8:08FC][2022-11-30T13:34:08]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[19F8:08FC][2022-11-30T13:34:08]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '22621'
[19F8:08FC][2022-11-30T13:34:08]i000: File search: wfs51E4EE0FE24E9CBA8433E82D12A0965F, did not find path: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\6.0.10\System.Xaml.dll
[19F8:08FC][2022-11-30T13:34:08]i000: Setting numeric variable 'HasDotnet6010' to value 0
[19F8:08FC][2022-11-30T13:34:08]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[19F8:08FC][2022-11-30T13:34:08]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[19F8:08FC][2022-11-30T13:34:08]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1
[19F8:08FC][2022-11-30T13:34:08]i052: Condition 'HasDotnet6010' evaluates to false.
[19F8:08FC][2022-11-30T13:34:08]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true.
[19F8:08FC][2022-11-30T13:34:08]i101: Detected package: TerminatePowerToys, state: Absent, cached: None
[19F8:08FC][2022-11-30T13:34:08]i101: Detected package: DotnetRuntime6, state: Absent, cached: None
[19F8:08FC][2022-11-30T13:34:08]i101: Detected package: WebView2, state: Present, cached: None
[19F8:08FC][2022-11-30T13:34:08]i101: Detected package: PowerToysSetup_0.64.1_ARM64.msi, state: Absent, cached: Complete
[19F8:08FC][2022-11-30T13:34:08]i052: Condition 'TargetPowerToysVersion >= DetectedPowerToysVersion OR WixBundleInstalled' evaluates to true.
[19F8:08FC][2022-11-30T13:34:08]i052: Condition 'DetectedWindowsBuildNumber >= 19041 OR WixBundleInstalled' evaluates to true.
[19F8:08FC][2022-11-30T13:34:08]i199: Detect complete, result: 0x0
[19F8:2CCC][2022-11-30T13:34:10]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[19F8:08FC][2022-11-30T13:34:10]i200: Plan begin, 4 packages, action: Install
[19F8:08FC][2022-11-30T13:34:10]w321: Skipping dependency registration on package with no dependency providers: TerminatePowerToys
[19F8:08FC][2022-11-30T13:34:10]i000: Setting string variable 'WixBundleLog_TerminatePowerToys' to value 'C:\Users\Mario Lim\AppData\Local\Temp\powertoys-bootstrapper-msi-0.64.1_20221130133408_000_TerminatePowerToys.log'
[19F8:08FC][2022-11-30T13:34:10]w321: Skipping dependency registration on package with no dependency providers: DotnetRuntime6
[19F8:08FC][2022-11-30T13:34:10]i000: Setting string variable 'WixBundleLog_DotnetRuntime6' to value 'C:\Users\Mario Lim\AppData\Local\Temp\powertoys-bootstrapper-msi-0.64.1_20221130133408_001_DotnetRuntime6.log'
[19F8:08FC][2022-11-30T13:34:10]w321: Skipping dependency registration on package with no dependency providers: WebView2
[19F8:08FC][2022-11-30T13:34:10]i000: Setting string variable 'WixBundleRollbackLog_PowerToysSetup_0.64.1_ARM64.msi' to value 'C:\Users\Mario Lim\AppData\Local\Temp\powertoys-bootstrapper-msi-0.64.1_20221130133408_002_PowerToysSetup_0.64.1_ARM64.msi_rollback.log'
[19F8:08FC][2022-11-30T13:34:10]i000: Setting string variable 'WixBundleLog_PowerToysSetup_0.64.1_ARM64.msi' to value 'C:\Users\Mario Lim\AppData\Local\Temp\powertoys-bootstrapper-msi-0.64.1_20221130133408_002_PowerToysSetup_0.64.1_ARM64.msi.log'
[19F8:08FC][2022-11-30T13:34:10]i201: Planned package: TerminatePowerToys, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None
[19F8:08FC][2022-11-30T13:34:10]i201: Planned package: DotnetRuntime6, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[19F8:08FC][2022-11-30T13:34:10]i201: Planned package: WebView2, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[19F8:08FC][2022-11-30T13:34:10]i201: Planned package: PowerToysSetup_0.64.1_ARM64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[19F8:08FC][2022-11-30T13:34:10]i299: Plan complete, result: 0x0
[19F8:08FC][2022-11-30T13:34:10]i300: Apply begin
[19F8:08FC][2022-11-30T13:34:10]i010: Launching elevated engine process.
[19F8:08FC][2022-11-30T13:34:11]i011: Launched elevated engine process.
[19F8:08FC][2022-11-30T13:34:11]i012: Connected to elevated engine.
[1B20:293C][2022-11-30T13:34:11]i358: Pausing automatic updates.
[1B20:293C][2022-11-30T13:34:11]i359: Paused automatic updates.
[1B20:293C][2022-11-30T13:34:11]i360: Creating a system restore point.
[1B20:293C][2022-11-30T13:34:11]w363: Could not create system restore point, error: 0x80070422. Continuing...
[1B20:293C][2022-11-30T13:34:11]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}, options: 0x7, disable resume: No
[1B20:293C][2022-11-30T13:34:11]i000: Caching bundle from: 'C:\WINDOWS\Temp{D52FA7F5-0287-4C9F-9224-1579946494AD}.be\PowerToysSetup-0.64.1-ARM64.exe' to: 'C:\ProgramData\Package Cache{f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}\PowerToysSetup-0.64.1-ARM64.exe'
[1B20:293C][2022-11-30T13:34:11]i320: Registering bundle dependency provider: {f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}, version: 0.64.1.0
[1B20:293C][2022-11-30T13:34:11]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}, resume: Active, restart initiated: No, disable resume: No
[1B20:28A8][2022-11-30T13:34:11]i305: Verified acquired payload: TerminatePowerToys at path: C:\ProgramData\Package Cache.unverified\TerminatePowerToys, moving to: C:\ProgramData\Package Cache\CEEB2F4674AB44E9EBCE9175CE716612D979979C\terminate_powertoys.cmd.
[19F8:1894][2022-11-30T13:34:11]w343: Prompt for source of package: DotnetRuntime6, payload: DotnetRuntime6, path: C:\Users\Mario Lim\Downloads\windowsdesktop-runtime-6.0.10-win-ARM64.exe
[19F8:1894][2022-11-30T13:34:11]i338: Acquiring package: DotnetRuntime6, payload: DotnetRuntime6, download from: https://download.visualstudio.microsoft.com/download/pr/b05a38ca-a434-473c-b031-07f05c75487e/0dfe9108f47050d81f1bc09002de6881/windowsdesktop-runtime-6.0.10-win-arm64.exe
[1B20:28A8][2022-11-30T13:38:00]i305: Verified acquired payload: DotnetRuntime6 at path: C:\ProgramData\Package Cache.unverified\DotnetRuntime6, moving to: C:\ProgramData\Package Cache\A624592684361793BE6D913A9E324BA6CEE4984A\windowsdesktop-runtime-6.0.10-win-ARM64.exe.
[1B20:28A8][2022-11-30T13:38:02]i304: Verified existing payload: PowerToysSetup_0.64.1_ARM64.msi at path: C:\ProgramData\Package Cache{C6396E4C-62E3-47CA-B1B9-A2C14AA8B87E}v0.64.1\PowerToysSetup-0.64.1-ARM64.msi.
[1B20:293C][2022-11-30T13:38:02]i301: Applying execute package: TerminatePowerToys, action: Install, path: C:\ProgramData\Package Cache\CEEB2F4674AB44E9EBCE9175CE716612D979979C\terminate_powertoys.cmd, arguments: '"C:\ProgramData\Package Cache\CEEB2F4674AB44E9EBCE9175CE716612D979979C\terminate_powertoys.cmd"'
[19F8:08FC][2022-11-30T13:38:02]i319: Applied execute package: TerminatePowerToys, result: 0x0, restart: None
[1B20:293C][2022-11-30T13:38:02]i301: Applying execute package: DotnetRuntime6, action: Install, path: C:\ProgramData\Package Cache\A624592684361793BE6D913A9E324BA6CEE4984A\windowsdesktop-runtime-6.0.10-win-ARM64.exe, arguments: '"C:\ProgramData\Package Cache\A624592684361793BE6D913A9E324BA6CEE4984A\windowsdesktop-runtime-6.0.10-win-ARM64.exe" /install /quiet /norestart'
[1B20:293C][2022-11-30T13:38:03]e000: Error 0x80070661: Process returned error: 0x661
[1B20:293C][2022-11-30T13:38:03]e000: Error 0x80070661: Failed to execute EXE package.
[19F8:08FC][2022-11-30T13:38:03]e000: Error 0x80070661: Failed to configure per-machine EXE package.
[19F8:08FC][2022-11-30T13:38:03]i319: Applied execute package: DotnetRuntime6, result: 0x80070661, restart: None
[19F8:08FC][2022-11-30T13:38:03]e000: Error 0x80070661: Failed to execute EXE package.
[1B20:293C][2022-11-30T13:38:03]i351: Removing cached package: DotnetRuntime6, from path: C:\ProgramData\Package Cache\A624592684361793BE6D913A9E324BA6CEE4984A
[1B20:293C][2022-11-30T13:38:03]i351: Removing cached package: TerminatePowerToys, from path: C:\ProgramData\Package Cache\CEEB2F4674AB44E9EBCE9175CE716612D979979C
[1B20:293C][2022-11-30T13:38:03]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}, resume: None, restart: None, disable resume: No
[1B20:293C][2022-11-30T13:38:03]i330: Removed bundle dependency provider: {f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}
[1B20:293C][2022-11-30T13:38:03]i352: Removing cached bundle: {f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}, from path: C:\ProgramData\Package Cache{f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}
[1B20:293C][2022-11-30T13:38:03]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{f0ebb432-2bf0-4d6c-bf08-8cfc8511827d}, resume: None, restart initiated: No, disable resume: No
[19F8:08FC][2022-11-30T13:38:04]i399: Apply complete, result: 0x80070661, restart: None, ba requested restart: No

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 Resolution-Already Fixed/Doesn't Apply A change in the product has made the issue obsolete.
Projects
None yet
Development

No branches or pull requests