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
- :
- Check if Reboot is required
Subscribe
- 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
‎Sep 20, 2007
10:22 AM
Check if Reboot is required
Hello,
I'm working with IS 2008, Basic MSI.
How can I get to know if a reboot is required after the SetupCompleteSuccess Dialog?
I need to know this because in my setup, there is a Custom Action that starts another setup after the SetupCompleteSuccess-Dialog. I would like to start this follow-setup only, if no reboot is required. What is a good way to achieve this?
Thanks for any suggestions, H.
I'm working with IS 2008, Basic MSI.
How can I get to know if a reboot is required after the SetupCompleteSuccess Dialog?
I need to know this because in my setup, there is a Custom Action that starts another setup after the SetupCompleteSuccess-Dialog. I would like to start this follow-setup only, if no reboot is required. What is a good way to achieve this?
Thanks for any suggestions, H.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 20, 2007
05:55 PM
If nothing else, you might see if this ancient newsletter tip will help (PDF warning): http://www.macrovision.com/webdocuments/PDF/0012_PendingReboot.pdf.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 21, 2007
04:16 AM
Thank you, Robert, this newsletter was very helpful.
H.
H.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2008
04:08 AM
I did as suggested above: a vb-Script CA at the end of the UI-sequence detects the pending reboot and sets a property REBOOT_REQUIRED. I inserted a ScheduleReboot-Action at the end of the UI sequence. This CA has condition "REBOOT_REQUIRED And Not CheckBoxLaunchNextSetup". I removed the ScheduleReboot-Action at the end of the install-execute sequence.
Problem: Running the setup, a reboot is prompted at the end of the setup, regardless of the users choice of CheckBoxLaunchNextSetup.
The log-file indicates that the ScheduleReboot-Action at the end of the UI-sequence is skipped (as intended). But at an earlier point the ScheduleReboot-Action is executed.
Does anybody know, where the reboot prompt at the end of the setup is scheduled and how to suppress it?
Any hint would be greatly appreciated, H.
Problem: Running the setup, a reboot is prompted at the end of the setup, regardless of the users choice of CheckBoxLaunchNextSetup.
The log-file indicates that the ScheduleReboot-Action at the end of the UI-sequence is skipped (as intended). But at an earlier point the ScheduleReboot-Action is executed.
Does anybody know, where the reboot prompt at the end of the setup is scheduled and how to suppress it?
Any hint would be greatly appreciated, H.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2008
10:12 AM
In the msdn2 help the following is stated: "If the installer determines that a restart is necessary it automatically prompts the user to restart at the end of the installation, whether or not there are any ForceReboot or ScheduleReboot actions in the sequence."
So I will try to use the REBOOT property in order to control the reboot at the end of the setup.
So I will try to use the REBOOT property in order to control the reboot at the end of the setup.