-
Notifications
You must be signed in to change notification settings - Fork 8
How to: Run an app with the previous WebView2 Runtime version
David Risney edited this page Jan 26, 2023
·
1 revision
It is sometimes useful when trying to determine if a bug caused by changes to your app or changes to the WebView2 Runtime, to be able to try out your app with a previous version of the WebView2 Runtime. The WebView2 team exposes the previous major version of the WebView2 Runtime for download as a fixed version cab. These steps should match what is described in the Fixed Version Details documentation.
- Navigate to the Download the WebView2 Runtime page.
- Select the appropriate version, CPU architecture, and press download. This will download a cab file containing the files for the specified version and CPU architecture of the WebView2 Runtime.
- Once downloaded, open a command prompt and run
expand {path to the package} -F:* {path to the destination folder}
For example, I downloaded the cab to my downloads folder and expanded to a folder within the downloads folder via:
expand C:\users\dave\downloads\Microsoft.WebView2.FixedVersionRuntime.109.0.1518.69.x64.cab -F:* C:\users\dave\downloads
Which puts the older version of the WebView2 Runtime into a subfolder in downloads C:\users\dave\downloads\Microsoft.WebView2.FixedVersionRuntime.109.0.1518.69.x64
- Now follow these directions on how to run an app with a custom WebView2 Runtime folder and use the subfolder created in the previous step containing your older version of the WebView2 Runtime as the custom WebView2 Runtime folder.