-
Notifications
You must be signed in to change notification settings - Fork 51
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
Is it possible to define an Edge RunTime setup project prerequisite step which only installs the runtime once in each scenario #2107
Comments
I don't need an answer to this anymore as we've decided to add installing the runtime as a prerequisite step which customers need to do themselves |
Windows update is now starting to install Microsoft Edge WebView2 Runtime and so this is becoming a minor issue. |
Glad you have a workaround for now @JimWard2018. I'm opening this as a bug on our backlog to track fixing the sample for the updated installer behavior. Thanks! |
This makes me curious, does it install the Microsoft Edge WebView2 Runtime on Windows 10 or Windows 11? |
@stefnotch all my development was done on windows 10 enterprise version 21H2 |
@stefnotch Currently, WebView2 is inbox with Windows 11, and some big apps (like Office) are installing WebView2 on Windows 10 machines. Windows Update shouldn't be installing WebView2 itself on Windows 10 machines. However, we are addressing #348, and hope to have some coverage on Windows 10 machines in the coming months. Thanks! |
@champnic Thanks for the information. I most certainly am looking forward to Webview2 being available on more machines, it's such a convenient alternative to shipping massive Electron/Chromnium binaries. |
There is an update to the platform bootstrapper information checked in, it will go onto the public samples repository with the next round of updates. |
Using https://github.com/MicrosoftEdge/WebView2Samples/tree/master/SampleApps/WV2DeploymentVSInstallerSample
As far I understand it the recommended approach is to chain-install the Evergreen WebView2 Runtime
The process writes a single registry key to indicate it has been successfully installed
The actual registry key written depends on whether the installation executes in an elevated process or command prompt or not (and whether you are running on 64-bit or 32-bit windows) ... so that's 4 locations.
The example product.xml only checks the 64-bit windows elevated process registry location; if that doesn't apply to you (as is the case for me) then every version of my application that I create going forward will start the Evergreen WebView2 Runtime installation which isn't what I want to happen.
How can I prevent that?
I have tried using multiple InstallChecks and multiple variants on the HKCU registry key
I couldn't get it to work
Do multiple InstallChecks work?
What's the correct format for a HKCU registry key?
AB#37954769
The text was updated successfully, but these errors were encountered: