edge-developer icon indicating copy to clipboard operation
edge-developer copied to clipboard

Installation Requirements should be mentioned

Open softworkz opened this issue 1 year ago • 4 comments

An important detail is missing in the comparison of the distribution modes:

The evergreen runtime requires elevation to install (not all users have those privileges), while the fixed version can be used for per-user installations.

It is also nowhere mentioned which distribution mode should be used for packaged apps.

Reference for "requires elevation": https://github.com/MicrosoftEdge/WebView2Samples/issues/145


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

AB#47625979

softworkz avatar Nov 14 '23 05:11 softworkz

Thank you for your feedback. Adding to our backlog.

captainbrosset avatar Nov 14 '23 12:11 captainbrosset

From my understanding, the Evergreen WebView2 runtime does not require elevation, and by default installs as user.

May I understand what you mean by:

It is also nowhere mentioned which distribution mode should be used for packaged apps.

victorhuangwq avatar Jun 05 '24 20:06 victorhuangwq

From my understanding, the Evergreen WebView2 runtime does not require elevation, and by default installs as user.

Saying "Elevation" was probably a bit misleading. I meant privilege elevation from the perspective of a packaged and containerized app like UWP (and I think also WinUI3 without 'runFullTrust'). Those apps don't even run under the regular user account and are not able to install the WebView2 evergreen runtime.

That's the context of my sentence which you have quoted: How am I supposed to install the WebView2 runtime from a Windows Store app (which doesn't run with fullTrust) ?

This is nowhere mentioned, and from my understanding, the only possible way is to ship the app with a fixed runtime (which is what we are doing).

softworkz avatar Jun 05 '24 21:06 softworkz

@victorhuangwq ping on the above response.

captainbrosset avatar Jun 25 '24 15:06 captainbrosset