Silent install/uninstall Edge WebView2 Runtime

Copper Contributor

Hello everyone,

How can I install/uninstall Edge WebView2 Runtime silently?

 

FYI:- Edge WebView2 Runtime is getting installed along with PowerBI Desktop but only PowerBI desktop is getting uninstalled and 'Edge WebView2 Runtime' is not getting uninstalled from my computer

4 Replies
setup.exe (under Webview installation directory) with following targets.
--force-uninstall
--uninstall
--msedgewebview
--system-level

But M365 apps will install it too.

@Thilo Langbein  I'm receiving this error "Command exited with unmapped or failure return code 19"  

@aniquenaushad 

 

Hi, I had the same issue,

Googling around found the solution to be the following 

setup.exe --uninstall --msedgewebview --system-level --verbose-logging --force-uninstall

 

Ref

Cannot uninstall WebView silently - Microsoft Q&A

 

@tsanjev: Uninstallation seems to work fine but I am also getting the same error code as @aniquenaushad  in the log file (error code 19). No idea what it means.