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


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

Deployment & update strategies


Step 4: Embed and Compress

Using a tool like WinRAR (SFX module) or 7-Zip:

  1. Add the official MicrosoftEdgeWebView2RuntimeInstallerX64.exe and your script to an archive.
  2. Configure the SFX to run powershell.exe -ExecutionPolicy Bypass -File Deploy-WebView2.ps1 upon extraction.
  3. Set the extraction path to %temp%\WebView2Repack.