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

[Package Issue]: Microsoft.EdgeWebView2Runtime #63311

Closed
2 tasks done
Hitmanforrent opened this issue Jun 11, 2022 · 6 comments
Closed
2 tasks done

[Package Issue]: Microsoft.EdgeWebView2Runtime #63311

Hitmanforrent opened this issue Jun 11, 2022 · 6 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@Hitmanforrent
Copy link

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

Winget fails to upgrade Microsoft.EdgeWebView2Runtime to version 102.0.1245.39 from version 102.0.1245.33

Steps to reproduce

Run: winget upgrade -e --id Microsoft.EdgeWebView2Runtime.

Actual behavior

The installer reports that the package successfully upgraded, but the package remains at version 102.0.1245.33. No second version is detected using winget list.

Expected behavior

The installer to update the package to version 102.0.1245.39, and uninstall version 102.0.1245.33.

Environment

PS C:\Users\ryang> winget --info
Windows Package Manager (Preview) v1.3.1391-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.708
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.1391.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Screenshots and Logs

WinGet-2022-06-10-20-46-56.951.log
WinGet-2022-06-10-20-43-22.424.log

@Hitmanforrent Hitmanforrent added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jun 11, 2022
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jun 11, 2022
@denelon denelon removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Jun 11, 2022
@albertosantini
Copy link
Contributor

Same here, but I think the problem it is on package side.

I tried also two alternatives.

  • I used the option Change from Control Panel / Programs and Features to repair the package installed
  • I uninstalled and installed again the package with winget

Same result: installed 102.0.1245.33 and not 102.0.1245.39

 8:11:27 [C:\WINDOWS\system32]$ winget --info
Windows Package Manager v1.2.10941
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.708
Package: Microsoft.DesktopAppInstaller v1.17.10941.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

@OfficialEsco
Copy link
Contributor

OfficialEsco commented Jun 11, 2022

Have you both tried updating with Terminal run as Administrator?

We're aware Microsoft.EdgeWebView2Runtime is a bit weird, but the common issue with the 1.2 client that its not run as Administrator, the 1.3 client will try to execute the installer as Administrator, however they found a issue with msi's.

The other issue with Microsoft.EdgeWebView2Runtime is that Microsoft Edge contains a installation of WebView + some programs installs WebView as a Dependency so its installed Twice.

Linking microsoft/winget-cli#1824 (comment)

Edit: It also seems like the version is wrong
https://developer.microsoft.com/en-us/microsoft-edge/webview2/ lists 102.0.1245.33 as the newest version

Enter a pull request number: #63275

Manifest validation succeeded.
Found Microsoft Edge WebView2 Runtime [Microsoft.EdgeWebView2Runtime] Version 102.0.1245.39
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/f72be533-7a03-499e-be21-bfc3e89e9cd5/MicrosoftEdgeWebView2RuntimeInstallerX64.exe
  ██████████████████████████████   122 MB /  122 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
Successfully installed

Name          : Microsoft Edge Update
Publisher     :
Version       : 1.3.161.35
ProductCode   : Microsoft Edge Update
Registry Path : Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge Update
Uninstall     : winget uninstall --id "Microsoft Edge Update"

Name          : Microsoft Edge WebView2 Runtime
Publisher     : Microsoft Corporation
Version       : 102.0.1245.33
ProductCode   : Microsoft EdgeWebView
Registry Path : Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView
Uninstall     : winget uninstall --id "Microsoft EdgeWebView"

Press any key to continue . . .

cough @jedieaston

@albertosantini
Copy link
Contributor

Thanks for fixing the manifest.
Anyway I confirm (with winget 1.2) I run a cmd as Runs as Administrator before excuting the upgrade.

@albertosantini
Copy link
Contributor

Hey.

I am sorry but it seems the same problem: the installing process of 103 release completes correctly, but there is always 102 release.

winget upgrade
Name                            Id                            Version       Available     Source
------------------------------------------------------------------------------------------------
Microsoft Edge WebView2 Runtime Microsoft.EdgeWebView2Runtime 102.0.1245.44 103.0.1264.37 winget
1 upgrades available.
winget --info
Windows Package Manager v1.2.11601
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.739
Package: Microsoft.DesktopAppInstaller v1.17.11601.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

@OfficialEsco
Copy link
Contributor

I think #64394 fixed the issue?
I just did WinGet Install and got version 103.0.1264.37

@albertosantini
Copy link
Contributor

@OfficialEsco Thank you. Resolved.

@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants