- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Installer exits after installing prerequisite
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Did this ever get resolved? I am having the same issue, with the installer closing after installing the WebView2 prereq. Same happens with or without the UI. I'm using /silent /install in the command line arguments to remove the UI but this doesn't help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @daniel_horn ,
Usually the edit for setup.exe used to happen when prq reboot setting is set to abort the setup.exe or the setting "if the prq appears to need a reboot" setting is set to exit and resume on reboot,
You can change the settings to "Reboot the machine and resume on reboot" and on other drop down change it to "Ask weather to continue setup" option and save the prq and then rebuild your project and try installing and verify.
Refer screenshot for reference.
Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @varul
Thanks for pointing me towards those settings. I just tried with the option to "Prompt the user only if no reboot is detected, but always reboot the machine and resume on reboot."
I already had "Ask whether to continue the setup" in place.
When I ran the install, it installed Webview2, then rebooted the machine, then continued with the main software install.
If I could achieve that without the reboot in the middle, that would be ideal. We don't really want users' servers to be rebooted when running our software upgrades.
I don't think the reboot is needed, as I have previously been able to run the install to get WebView2 in place, it bombs out, then I run the install again and it upgrades our main software, with no reboot required, and everything working ok.
I'll try some of the other settings in the list. Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I went with the option, "Ignore it, and fail to resume if machine is rebooted". Upon first appearances, after testing on one of my machines, this has worked. Thanks again!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @daniel_horn ,
if you are using an installshield version like IS2020, and on installation if prq finds any temp value under registry pendingfilerenameoperations
the prq will request for an reboot.
https://stackoverflow.com/questions/31432333/clear-the-pendingfilerenameoperations-registry-value
if you are using IS2021 or later version, you can include this IgnoreTmpRename="1" in your prq it will avoid this reboot. (refer screenshot)
we need to edit the prq using notepad or notepad++ and add this IgnoreTmpRename="1" and save the prq, and rebuild the project and install.
Yes, ignore it option will avoid the unnecessary reboot, and good that you are able to solve it.