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

[Problem/Bug]: Cannot update Webview2 to same version as Edge #4912

Open
pyorot opened this issue Nov 9, 2024 · 1 comment
Open

[Problem/Bug]: Cannot update Webview2 to same version as Edge #4912

pyorot opened this issue Nov 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@pyorot
Copy link

pyorot commented Nov 9, 2024

What happened?

The automatic updating desynchronises Webview2 from Edge and so wastes 0.6GB of storage to duplication. I cannot find a reliable way to update Webview2 or to downgrade/disable automatic updates in Edge so that the two remain synchronised. It's fairly painful for storage space control and cleanup to have this variable 0.6GB. Help or remediation appreciated.

I tried:

  • Winget: latest version of Webview2 unavailable.
  • Evergreen installer: says Webview2 already installed.
  • Add/remove programs reinstall: reinstalls the old version.
  • .\setup.exe --msedgewebview --delete-old-versions --system-level --verbose-logging --on-logon: immediately exits with no output.
  • Windows Update: doesn't update Webview2 to the latest version.

image

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

130.0.2849.56

SDK Version

No response

Framework

Other

Operating System

Windows 10

OS Version

19045.5011

Repro steps

Bug is fully automatic and intermittent depending on versions.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@pyorot pyorot added the bug Something isn't working label Nov 9, 2024
@LiangTheDev
Copy link
Member

Did you run WebView2 Runtime installer as admin (elevated)? By default it tries to install per user and would refuse to do so if per machine install is already there.

Edge browser and Edge WebView2 Runtime are 2 different products, and have slightly different release and rollout schedule. While rollout schedules are different, the same version is normally released at the same time, and I would expect running installer as admin would install latest version. Note that there could be times that we release the two products at different times or skip a version for WebView2. Those should not be often though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants