Skip to content

Setup failed - Unspecified Error 0x800421f6 - Webview2 failing #18736

Open
@koppor

Description

Microsoft PowerToys version

0.58 and 0.59.0-x64

Running as admin

  • Yes

Area(s) with issue?

Installer

Steps to reproduce

  1. Start PowerToysSetup-0.59.0-x64.exe
  2. Grant admin rights

✔️ Expected Behavior

PowerToys installs

❌ Actual Behavior

Powertoys installation fails.

The log sys that WebView2 cannot be installed.

I tried the hint at #17952 (comment). However, my adminsitration privilidges do not allow me to change any (!) security setting.

This somehow refs #411 (comment). I wonder whether it was possible to distribute a variant of PowerToys not requiring to touching the Web browser (Microsoft Edge).

[52DC:4A00][2022-06-09T21:24:41]i001: Burn v3.14.0.6526, Windows v10.0 (Build 19042: Service Pack 0), path: C:\Users\OLIKOPP\AppData\Local\Temp\{175BB772-8365-413F-A901-D54F42964636}\.cr\PowerToysSetup-0.59.0-x64.exe
[52DC:4A00][2022-06-09T21:24:41]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles64Folder]PowerToys'
[52DC:4A00][2022-06-09T21:24:41]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys\'
[52DC:4A00][2022-06-09T21:24:41]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[52DC:4A00][2022-06-09T21:24:41]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.59.0'
[52DC:4A00][2022-06-09T21:24:41]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[52DC:4A00][2022-06-09T21:24:41]i009: Command Line: '-burn.clean.room=C:\Users\OLIKOPP\Downloads\PowerToysSetup-0.59.0-x64.exe -burn.filehandle.attached=548 -burn.filehandle.self=532'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\OLIKOPP\Downloads\PowerToysSetup-0.59.0-x64.exe'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\OLIKOPP\Downloads\'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\OLIKOPP\AppData\Local\Temp\powertoys-bootstrapper-msi-0.59.0_20220609212441.log'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) x64'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[52DC:79DC][2022-06-09T21:24:41]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[52DC:79DC][2022-06-09T21:24:41]i000: Setting version variable 'WixBundleFileVersion' to value '0.59.0.0'
[52DC:4A00][2022-06-09T21:24:41]i100: Detect begin, 4 packages
[52DC:4A00][2022-06-09T21:24:41]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.57.2.0'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '19042'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting numeric variable 'HasDotnet605' to value 1
[52DC:4A00][2022-06-09T21:24:41]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[52DC:4A00][2022-06-09T21:24:41]i000: Registry key not found. Key = 'SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[52DC:4A00][2022-06-09T21:24:41]i000: Setting numeric variable 'HasWebView2PerMachine' to value 0
[52DC:4A00][2022-06-09T21:24:41]i000: Setting string variable 'DetectedVCRedistVersion' to value '32'
[52DC:4A00][2022-06-09T21:24:41]i052: Condition 'HasDotnet605' evaluates to true.
[52DC:4A00][2022-06-09T21:24:41]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to false.
[52DC:4A00][2022-06-09T21:24:41]i052: Condition 'DetectedVCRedistVersion >= 32' evaluates to true.
[52DC:4A00][2022-06-09T21:24:41]i103: Detected related package: {504D817D-2ED1-4914-84D5-510D314AAD40}, scope: PerMachine, version: 0.57.2.0, language: 0 operation: MajorUpgrade
[52DC:4A00][2022-06-09T21:24:41]i103: Detected related package: {504D817D-2ED1-4914-84D5-510D314AAD40}, scope: PerMachine, version: 0.57.2.0, language: 0 operation: MajorUpgrade
[52DC:4A00][2022-06-09T21:24:41]i101: Detected package: DotnetRuntime6, state: Present, cached: None
[52DC:4A00][2022-06-09T21:24:41]i101: Detected package: WebView2, state: Absent, cached: None
[52DC:4A00][2022-06-09T21:24:41]i101: Detected package: VCRedist, state: Present, cached: None
[52DC:4A00][2022-06-09T21:24:41]i101: Detected package: PowerToysSetup_0.59.0_x64.msi, state: Absent, cached: Complete
[52DC:4A00][2022-06-09T21:24:41]i052: Condition 'TargetPowerToysVersion >= DetectedPowerToysVersion OR WixBundleInstalled' evaluates to true.
[52DC:4A00][2022-06-09T21:24:41]i052: Condition 'DetectedWindowsBuildNumber >= 18362 OR WixBundleInstalled' evaluates to true.
[52DC:4A00][2022-06-09T21:24:41]i199: Detect complete, result: 0x0
[52DC:79DC][2022-06-09T21:24:43]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[52DC:4A00][2022-06-09T21:24:43]i200: Plan begin, 4 packages, action: Install
[52DC:4A00][2022-06-09T21:24:43]w321: Skipping dependency registration on package with no dependency providers: DotnetRuntime6
[52DC:4A00][2022-06-09T21:24:43]w321: Skipping dependency registration on package with no dependency providers: WebView2
[52DC:4A00][2022-06-09T21:24:43]i000: Setting string variable 'WixBundleLog_WebView2' to value 'C:\Users\OLIKOPP\AppData\Local\Temp\powertoys-bootstrapper-msi-0.59.0_20220609212441_000_WebView2.log'
[52DC:4A00][2022-06-09T21:24:43]w321: Skipping dependency registration on package with no dependency providers: VCRedist
[52DC:4A00][2022-06-09T21:24:43]i000: Setting string variable 'WixBundleRollbackLog_PowerToysSetup_0.59.0_x64.msi' to value 'C:\Users\OLIKOPP\AppData\Local\Temp\powertoys-bootstrapper-msi-0.59.0_20220609212441_001_PowerToysSetup_0.59.0_x64.msi_rollback.log'
[52DC:4A00][2022-06-09T21:24:43]i000: Setting string variable 'WixBundleLog_PowerToysSetup_0.59.0_x64.msi' to value 'C:\Users\OLIKOPP\AppData\Local\Temp\powertoys-bootstrapper-msi-0.59.0_20220609212441_001_PowerToysSetup_0.59.0_x64.msi.log'
[52DC:4A00][2022-06-09T21:24:43]i201: Planned package: DotnetRuntime6, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[52DC:4A00][2022-06-09T21:24:43]i201: Planned package: WebView2, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[52DC:4A00][2022-06-09T21:24:43]i201: Planned package: VCRedist, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[52DC:4A00][2022-06-09T21:24:43]i201: Planned package: PowerToysSetup_0.59.0_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[52DC:4A00][2022-06-09T21:24:43]i299: Plan complete, result: 0x0
[52DC:4A00][2022-06-09T21:24:43]i300: Apply begin
[52DC:4A00][2022-06-09T21:24:43]i010: Launching elevated engine process.
[52DC:4A00][2022-06-09T21:24:52]i011: Launched elevated engine process.
[52DC:4A00][2022-06-09T21:24:52]i012: Connected to elevated engine.
[0610:453C][2022-06-09T21:24:52]i358: Pausing automatic updates.
[0610:453C][2022-06-09T21:24:52]i359: Paused automatic updates.
[0610:453C][2022-06-09T21:24:52]i360: Creating a system restore point.
[0610:453C][2022-06-09T21:24:52]w363: Could not create system restore point, error: 0x800704ec. Continuing...
[0610:453C][2022-06-09T21:24:52]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fbb7bf41-8fdd-40f2-b231-4ea130dbc688}, options: 0x7, disable resume: No
[0610:453C][2022-06-09T21:24:53]i000: Caching bundle from: 'C:\Users\OLIKOPP\AppData\Local\Temp\{26EE9A76-47C6-40F1-BAA3-0A26F1FD55D9}\.be\PowerToysSetup-0.59.0-x64.exe' to: 'C:\ProgramData\Package Cache\{fbb7bf41-8fdd-40f2-b231-4ea130dbc688}\PowerToysSetup-0.59.0-x64.exe'
[0610:453C][2022-06-09T21:24:53]i320: Registering bundle dependency provider: {fbb7bf41-8fdd-40f2-b231-4ea130dbc688}, version: 0.59.0.0
[0610:453C][2022-06-09T21:24:53]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fbb7bf41-8fdd-40f2-b231-4ea130dbc688}, resume: Active, restart initiated: No, disable resume: No
[0610:8D88][2022-06-09T21:24:53]i305: Verified acquired payload: WebView2 at path: C:\ProgramData\Package Cache\.unverified\WebView2, moving to: C:\ProgramData\Package Cache\F7119E3AB3D5CB3ADCD9A57F0EC227F783695819\MicrosoftEdgeWebview2Setup.exe.
[0610:8D88][2022-06-09T21:24:53]i304: Verified existing payload: PowerToysSetup_0.59.0_x64.msi at path: C:\ProgramData\Package Cache\{DA5A1571-B0BC-4BDA-9F13-AD5ACADB4EF7}v0.59.0\PowerToysSetup-0.59.0-x64.msi.
[0610:453C][2022-06-09T21:24:53]i301: Applying execute package: WebView2, action: Install, path: C:\ProgramData\Package Cache\F7119E3AB3D5CB3ADCD9A57F0EC227F783695819\MicrosoftEdgeWebview2Setup.exe, arguments: '"C:\ProgramData\Package Cache\F7119E3AB3D5CB3ADCD9A57F0EC227F783695819\MicrosoftEdgeWebview2Setup.exe" /silent /install'
[0610:453C][2022-06-09T21:25:42]e000: Error 0x800421f6: Process returned error: 0x800421f6
[0610:453C][2022-06-09T21:25:42]e000: Error 0x800421f6: Failed to execute EXE package.
[52DC:4A00][2022-06-09T21:25:42]e000: Error 0x800421f6: Failed to configure per-machine EXE package.
[52DC:4A00][2022-06-09T21:25:42]i319: Applied execute package: WebView2, result: 0x800421f6, restart: None
[52DC:4A00][2022-06-09T21:25:42]e000: Error 0x800421f6: Failed to execute EXE package.
[0610:453C][2022-06-09T21:25:42]i351: Removing cached package: WebView2, from path: C:\ProgramData\Package Cache\F7119E3AB3D5CB3ADCD9A57F0EC227F783695819\
[0610:453C][2022-06-09T21:25:42]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fbb7bf41-8fdd-40f2-b231-4ea130dbc688}, resume: None, restart: None, disable resume: No
[0610:453C][2022-06-09T21:25:42]i330: Removed bundle dependency provider: {fbb7bf41-8fdd-40f2-b231-4ea130dbc688}
[0610:453C][2022-06-09T21:25:42]i352: Removing cached bundle: {fbb7bf41-8fdd-40f2-b231-4ea130dbc688}, from path: C:\ProgramData\Package Cache\{fbb7bf41-8fdd-40f2-b231-4ea130dbc688}\
[0610:453C][2022-06-09T21:25:42]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fbb7bf41-8fdd-40f2-b231-4ea130dbc688}, resume: None, restart initiated: No, disable resume: No
[52DC:4A00][2022-06-09T21:25:42]i399: Apply complete, result: 0x800421f6, restart: None, ba requested restart:  No

Other Software

No response

Oliver Kopp <[email protected]> on behalf of MBition GmbH.
Provider Information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-EnterpriseIssues relevant to large enterprises, SCCM, run as admin restrictions, ...Area-Setup/InstallRefers to installation mechanismIssue-DocsDocumentation issue that needs to be improvedSeverity-HighBugs that we consider a blocking issue for release (crashes stuff outside of PT)

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions