Skip to content

Windows: Integrate WebView2 installation into .msi installer #2452

@lumenian

Description

@lumenian

Is your feature request related to a problem? Please describe.
Installation process of a Tauri application on Windows can cause confusion among the end users. At the moment the .msi installer triggers a UAC warning pop-up, that asks the user for the installation of Webview2.

The pop-up asks permission to install a "Windows Edge Update", which might scare users, who don't use Edge the browser and do not understand the need for this dependency.

When the pop-up is closed, permission denied or in an offline environment, we have an awkward situation: the app has been successfully installed, but the user can't launch it. It also does not prompt the Webview2 installation again, nor produce any error messages, that might help the user investigate the issue.

Describe the solution you'd like
Installing missing Webview2 dependency should be a part of the .msi installation process itself. This way the app installation becomes an "atomic" procedure: either it successfully installs the app (with all needed dependencies) and it works, or it fails, but the user knows why and does not expect the app to run.

Additional context
Useful Discord message by @amrbashir regarding this issue: https://discord.com/channels/616186924390023171/731495028677148753/876757798195716096

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions