Microsoft Edge Webview2 Runtime Offline Installer Repack
For an offline repack of the Microsoft Edge WebView2 Runtime , you should use the Evergreen Standalone Installer
, which contains all necessary files for a full installation without an internet connection. Microsoft Learn Recommended Installer Evergreen Standalone Installer : Available in : Download directly from the Microsoft Edge WebView2 Developer Page Microsoft Developer Silent Installation Commands
To run the installer silently as part of a script or larger setup package, use the following syntax. Installation Type Silent Install microsoft edge webview2 runtime offline installer repack
MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /install Silent Uninstall
MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /uninstall flag must come to avoid known bugs in some versions of the bootstrapper. For an offline repack of the Microsoft Edge
: Running these commands from an elevated (Administrator) command prompt triggers a per-machine install. Running without elevation defaults to a Microsoft Learn Repacking Tips offline upgrade edge or runtime webview version
What WebView2 Runtime is and why offline installers matter
- What it is: WebView2 is a Microsoft runtime that lets Windows apps host web content using the Edge (Chromium) engine. The runtime is separate from Edge browser and required by apps built with WebView2.
- Why offline installers: The official Evergreen WebView2 installer typically downloads components at runtime. Offline (standalone) installers are used where network access is restricted, to speed mass deployment, or to comply with change-control processes.
Verify exit code
if ($LASTEXITCODE -eq 0) Write-Host "Installation successful." else Write-Host "Installation failed with code $LASTEXITCODE"; exit 1 What it is: WebView2 is a Microsoft runtime
3.1 The Bootstrapper
- File:
MicrosoftEdgeWebview2Setup.exe - Size: Small (~2 MB)
- Behavior: Downloads the latest components from Microsoft servers during execution.
- Suitability for Repack: Poor. It requires internet access to function, negating the purpose of an offline installer.
Deployment & update strategies
- Prefer Microsoft’s Evergreen fixed-version offline packages when available to receive security fixes.
- Use internally hosted update channels for controlled rollouts.
- Schedule periodic reviews for new runtime releases and security patches.
- Automate detection of vulnerable versions and plan patch deployments.
Step 4: Embed and Compress
Using a tool like WinRAR (SFX module) or 7-Zip:
- Add the official
MicrosoftEdgeWebView2RuntimeInstallerX64.exeand your script to an archive. - Configure the SFX to run
powershell.exe -ExecutionPolicy Bypass -File Deploy-WebView2.ps1upon extraction. - Set the extraction path to
%temp%\WebView2Repack.
