The Microsoft Edge WebView2 Runtime control allows you to embed web technologies (HTML, CSS, and JavaScript) in your native apps. The WebView2 control uses Microsoft Edge (Chromium) as the rendering engine to display the web content in native apps. With WebView2, you may embed web code in different parts of your native app. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Microsoft Edge WebView2 Runtime from the command line using the EXE installer.
How to Install Microsoft Edge WebView2 Runtime Silently
Microsoft Edge WebView2 Runtime x86 Silent Install (EXE)
- Navigate to: https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section
- Select the x86 Standalone Installer
- Download the MicrosoftEdgeWebView2RuntimeInstallerX86.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: MicrosoftEdgeWebView2RuntimeInstallerX86.exe /silent /install
- Press Enter
After a few moments you will find Microsoft Edge WebView2 Runtime entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | Microsoft Edge WebView2 Runtime (x86) |
Vendor: | Microsoft Corporation |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: |
|
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\Microsoft\EdgeWebView\Application\w.x.y.z\Installer\setup.exe" --uninstall --msedgewebview --system-level --force-uninstall |
Silent Uninstall Switch (64-bit System) |
|
Download Link: | https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section |
PowerShell Script: | https://silentinstallhq.com/microsoft-edge-webview2-runtime-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-microsoft-edge-webview2-runtime-powershell/ |
Microsoft Edge WebView2 Runtime x64 Silent Install (EXE)
- Navigate to: https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section
- Select the x64 Standalone Installer
- Download the MicrosoftEdgeWebView2RuntimeInstallerX64.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /install
- Press Enter
After a few moments you will find Microsoft Edge WebView2 Runtime entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | Microsoft Edge WebView2 Runtime (x64) |
Vendor: | Microsoft Corporation |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: |
|
Silent Uninstall Switch: |
|
Download Link: | https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section |
PowerShell Script: | https://silentinstallhq.com/microsoft-edge-webview2-runtime-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-microsoft-edge-webview2-runtime-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website.
How to Uninstall Microsoft Edge WebView2 Runtime Silently
Check out the Microsoft Edge WebView2 Runtime Install and Uninstall (PowerShell) post for a scripted solution.
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Microsoft Edge WebView2 Runtime x86 Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\Microsoft\EdgeWebView\Application\w.x.y.z\Installer\setup.exe" --uninstall --msedgewebview --system-level --force-uninstall |
Microsoft Edge WebView2 Runtime x86 Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\Microsoft\EdgeWebView\Application\w.x.y.z\Installer\setup.exe" --uninstall --msedgewebview --system-level --force-uninstall |
Microsoft Edge WebView2 Runtime x64 Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\Microsoft\EdgeWebView\Application\w.x.y.z\Installer\setup.exe" --uninstall --msedgewebview --system-level --force-uninstall |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.