baddate.blogg.se

Microsoft edge webview2 runtime silent uninstall
Microsoft edge webview2 runtime silent uninstall













microsoft edge webview2 runtime silent uninstall

  • There is no /wait parameter in the documentation resp.
  • We do not want to have the fixed version installer, really not.
  • We have created an installer which runs WebView2 setup (currently the evergreen bootstrapper).
  • Beside this problem everything works like a charm (almost ).
  • (So we can use the same addin for web and Desktop)
  • We are hosting an Outlook Web Addin inside this WebView2 to work via COM with a Desktop Outlook.
  • We use WebView2 from a COM Addin in Outlook, using C# and netoffice.
  • This sometimes crashes Outlook (our Consumer) with Access Violation and may leave the WebView2 data dir "corrupted", because it has been created by a "partial installation" of WebView2.
  • Our installer does not wait until WebView2 installation is finished and starts consuming processes too early, while WebView2 installation is still running.
  • there seem to be multiple subprocesses having different names, depending on type of installer and platform.
  • the actual installation continues in background and takes some time to finish.
  • the main setup.exe exits IMMEDIATELY, leaving no chance for the caller to wait for the finished webview2 installation.
  • so the parent process can simply wait for main setup.exe to complete.
  • microsoft edge webview2 runtime silent uninstall

    the main setup.exe exits AFTER the installation is complete.check when the installer exits in cmd.exe.check with process explorer / task manager to see when the installation finishes.run the installer, XXX.exe /silent /install.start a cmd.exe, (admin or not -> same behaviour).start a VM/physical Windows 10 machine without any webview2 components installed.Public Installer Versions avaiable as of 01-June-2021 from If we manually install WebView2 to ensure the installation finishes before the Consuming Application (Outlook.exe) starts, then everything works fine. We do not want to deploy fixed versions along with our application since that would be too difficult/inappropriate. We must support Windows 7 to Windows 10, so we expect that we will always need to include WebView2 in our installer. Our Installer starts the WebView2 Consuming Application (Outlook.exe) immediately after the installation, causing Outlook.exe to have Access Violations and this even corrupts WebView2/Edge Data directories sometimes. There is no easy way for a parent installer to correctly wait until the installation finishes.

    microsoft edge webview2 runtime silent uninstall

    The WebView2 Installers (Bootstrapper+Standalone) exit too early, when run with /silent /install from another installer.















    Microsoft edge webview2 runtime silent uninstall