![]() This approach avoids the need to package the bootstrapper with your app. Your app uses this link to programmatically download the bootstrapper onto the client and invoke the bootstrapper. Link to the bootstrapper, using a link that you obtain from the Get the Link button. You can use the bootstrapper a couple different ways: The bootstrapper downloads and installs the appropriate WebView2 Evergreen Runtime onto the client. The Evergreen Bootstrapper section of the page provides a small Evergreen Runtime bootstrapper that runs on the client machine, for online users. The Evergreen distribution mode is recommended for most apps. Understanding the options at this page provides a good introduction, to help decide which approach you want to use. The Download the WebView2 Runtime section of the Microsoft Edge WebView2 page provides several options for distributing the WebView2 Runtime onto client machines. Understanding the options at the Runtime download page The Fixed Version runtime can't be installed by using an installer. More disk space is required on the client, if there are multiple WebView2 apps installed. ![]() The WebView2 Runtime isn't automatically updated on clients, so to use the latest WebView2 APIs, you must periodically update your app together with the updated WebView2 Runtime. You need to manage the WebView2 Runtime yourself. Your app doesn't need to test whether the latest APIs are present. You know which WebView2 APIs are available to your app, because you control which version of the WebView2 Runtime is available to your app. You have more control over versioning of the WebView2 Runtime.The WebView2 Runtime that you package with your app is used only by your WebView2 app, not by any other apps on the client's machine. In the Fixed Version distribution mode, you download a specific version of the WebView2 Runtime and package it together with your WebView2 app in your app package. ![]() The Fixed Version runtime distribution mode See Details about the Evergreen Runtime distribution mode below. Even if your app uses the Evergreen distribution mode, we recommend that you distribute the WebView2 Runtime, to cover edge cases where the Runtime wasn't already installed. Microsoft installed the WebView2 Runtime to all eligible Windows 10 devices, as described in Delivering Microsoft Edge WebView2 Runtime to managed Windows 10 devices. The Evergreen Runtime is preinstalled onto all Windows 11 devices as a part of the Windows 11 operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |