To install the Microsoft Edge WebView2 Runtime using an offline installer, you should use the Evergreen Standalone Installer
@echo off set INSTALLER=%~dp0MicrosoftEdgeWebView2RuntimeInstallerX64.exe set LOGFILE=C:\Logs\webview2_install.log microsoft edge webview2 runtime offline installer full