microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.71k stars 4.55k forks source link

[Package Issue]: Microsoft.EdgeWebView2Runtime #192036

Open ArchGuyWu opened 4 hours ago

ArchGuyWu commented 4 hours ago

Please confirm these before moving forward

Category of the issue

Installation issue.

Brief description of your issue

Installer failed with exit code: 2147747880

Steps to reproduce

winget install Microsoft.EdgeWebView2Runtime

Actual behavior

Installer failed with exit code: 2147747880

Expected behavior

Microsoft.EdgeWebView2Runtime installed successfully.

Environment

Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Server v10.0.26100.2314
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Screenshots and Logs

Found Microsoft Edge WebView2 Runtime [Microsoft.EdgeWebView2Runtime] Version 131.0.2903.51
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/16336785-5d6e-466f-82fd-37c292a21d7a/MicrosoftEdgeWebView2RuntimeInstallerX64.exe
  ██████████████████████████████   173 MB /  173 MB
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 2147747880
[11/17/24 12:40:01.103][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][ConfigManager::LoadGroupPolicies][Machine is not Enterprise Managed]
[11/17/24 12:40:01.103][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][OmahaPolicyManager::set_policy][Group Policy][[CachedOmahaPolicy][is_initialized][0][is_managed][0][auto_update_check_period_minutes][-1][download_preference][][cache_size_limit][-1][cache_life_limit][-1][updates_suppressed][-1][-1][-1][proxy_mode][][proxy_server][][proxy_pac_url][][install_default][-1][update_default][-1][experimentation_configuration_service_control_allowed][-1][metered_updates_default_policy][-1]]
[11/17/24 12:40:01.103][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][DllEntry][**PII**\AppData\Local\Temp\EU8C4D.tmp\MicrosoftEdgeUpdate.exe /silent /install "appguid={F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}&appname=Microsoft%20Edge%20WebView2%20Runtime&needsadmin=Prefers"]
[11/17/24 12:40:01.103][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][**PII**\AppData\Local\Temp\EU8C4D.tmp\msedgeupdate.dll][version 1.3.195.35][opt][official]
[11/17/24 12:40:01.103][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][is machine: 1][Current dir][**PII**\AppData\Local\Temp\EU8C4D.tmp]
[11/17/24 12:40:01.106][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][GoopdateImpl::DoInstall]
[11/17/24 12:40:01.106][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][Failed to install][0x80040828][Installation failed. The Microsoft Edge WebView2 Runtime is already installed for the system.]
[11/17/24 12:40:01.181][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][IsEdgeUninstallablePerRegionalPolicy][0]
[11/17/24 12:40:01.196][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][Started process][8696]
[11/17/24 12:40:01.823][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][ExecuteMode failed][0x80040828][mode: 9]
[11/17/24 12:40:01.823][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][GoopdateImpl::HandleError][0x80040828][0]
[11/17/24 12:40:01.823][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][Creating WER report for failed install][0x80040828][InstallError][][-1]
[11/17/24 12:40:02.014][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][WER submit result: 5]
[11/17/24 12:40:02.014][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][Main failed][**PII**\AppData\Local\Temp\EU8C4D.tmp\MicrosoftEdgeUpdate.exe /silent /install "appguid={F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}&appname=Microsoft%20Edge%20WebView2%20Runtime&needsadmin=Prefers"][0x80040828]
[11/17/24 12:40:02.014][MicrosoftEdgeUpdate:msedgeupdate][2032:2948][DllEntry exit][0x80040828]
Dragon1573 commented 2 hours ago

Unable to reproduce in Windows Sandbox instance.

Image Image

ArchGuyWu commented 2 hours ago

Unable to reproduce in Windows Sandbox instance.

Image Image

Don't use administrator right and try again?

ArchGuyWu commented 2 hours ago

Installing Microsoft.EdgeWebView2Runtime as user scope.

Dragon1573 commented 2 hours ago

Don't use administrator right and try again?

In my physical device (Windows 11 Professional Workstation 23H2), the application must be installed with Administrator privileges. It will pop up a UAC dialog asking users for elevation.

Image

In Windows Sandbox instance, the default user WDAGUtilityAccount will always launch Windows PowerShell as Administrator. Nothing wrong when explicitly install to user scope.

Image


Can your user account elevate as Administrator?