This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Problem with rebooting after Prerequisite install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jan 07, 2010
12:09 PM
Problem with rebooting after Prerequisite install
Although I have selected "Prompt the user to reboot the machine even if nothing is detected, and resume on reboot" for "If the prerequisite appears to need a reboot", the machine reboots after prereq installation without prompting the user. Any ideas why?
By the way, the command line that I have specified for the application is: /s /v" /qn"
Thanks.
By the way, the command line that I have specified for the application is: /s /v" /qn"
Thanks.
(2) Replies
‎Jan 08, 2010
01:35 PM
Most likely the executable you have launched in the prerequisite has kicked off the reboot. If there is a command line parameter to suppress this (and ideally report it in its exit code) you should use it. For MSIs, this can be a matter of setting the property REBOOT=ReallySuppress.
‎Jan 10, 2010
10:48 PM
I had the same issue.
My prerequisite was designed to uninstall another installation using the msiexec command. However it just re-booted itself without warning the user straight after the uninstall completed.
It was due to the fact the uninstall application had the re-boot flag set in it and didnt seem to be passing the code back to the pre-requisite manager.
So no matter what I did from the pre-requisite builder to set the reboot flag etc it always rebooted itself as the uninstall being run didnt seem to pass the prequisite back the re-boot flag.
I renamed the pre-requisite and appended the description (Reboot Required) so the user knew when they selected that pre-requisite it would always re-boot.
My prerequisite was designed to uninstall another installation using the msiexec command. However it just re-booted itself without warning the user straight after the uninstall completed.
It was due to the fact the uninstall application had the re-boot flag set in it and didnt seem to be passing the code back to the pre-requisite manager.
So no matter what I did from the pre-requisite builder to set the reboot flag etc it always rebooted itself as the uninstall being run didnt seem to pass the prequisite back the re-boot flag.
I renamed the pre-requisite and appended the description (Reboot Required) so the user knew when they selected that pre-requisite it would always re-boot.