cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brianjustice
Level 2

Installer exits after installing prerequisite

I need to install the WebView2 control as a prerequisite.  When I run the installer, it installs all of the necessary prerequisites, including WebView2, but then it simply exits with no error message.  There's no log file to look at either.  The file it's running to install the prerequisite is

MicrosoftEdgeWebView2RuntimeInstallerX64.exe

If I rerun the installer, it has indeed installed the WebView2 prerequisite and the install proceeds normally.

What am I doing wrong?

I am doing a silent install, so the command line looks like:

MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /install

I read that if the /install is first, it fails, but I have the arguments in the correct order

Labels (1)
0 Kudos
2 Replies
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @brianjustice :   you are facing issue like when install the setup.exe in silent mode, after installing prq the setup.exe exists, but when you install with UI it installs without any issues, 

is my understanding correct?

what is your project type? could you please the ism and prq file

0 Kudos
steve_bolster
Level 2

I am experiencing the same issue with WebView2 in a UI install (non-silent). The dialog appears stating Installing the prq (MicrosoftEdgeWebview2Setup.exe). Once it completes, the dialog closes automatically and no errors are displayed. The prq does get installed correctly so if I re-run it, it completes normally because it is not installed again.

Any ideas on what is going on?

 

0 Kudos