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
- :
- Installation does not continue when a prerequisite forces an immediate reboot
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
‎Nov 05, 2013
12:42 PM
Installation does not continue when a prerequisite forces an immediate reboot
I've noticed some similar posts on this topic, but did not see any solution / explanation / etc. If this is one of those situations where InstallShield is doing the right thing, but Windows has the bug, I would appreciate knowing that.
I'm using a prerequisite for .NET 4.5 in an MSI-Installscript project. The prerequisite is configured with the "Reboot the machine and resume on reboot" option (under the Behavior tab -> "If the prerequisite appears to need a reboot"). We're targeting Windows 7 and 8, and consistently seeing that after installing .NET 4.5, the computer reboots and the install fails to continue (even in Windows 7 where in theory there should be less OS bugs by now).
In case people are more familiar with the XML of the prerequisites, here's the applicable XML:
Is there a different way I should configure this prerequisite as a workaround to this problem? Any other suggestions?
Thanks.
I'm using a prerequisite for .NET 4.5 in an MSI-Installscript project. The prerequisite is configured with the "Reboot the machine and resume on reboot" option (under the Behavior tab -> "If the prerequisite appears to need a reboot"). We're targeting Windows 7 and 8, and consistently seeing that after installing .NET 4.5, the computer reboots and the install fails to continue (even in Windows 7 where in theory there should be less OS bugs by now).
In case people are more familiar with the XML of the prerequisites, here's the applicable XML:
Is there a different way I should configure this prerequisite as a workaround to this problem? Any other suggestions?
Thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 05, 2013
02:46 PM
There are several methods that InstallShield uses to determine if a restart is needed or not.
http://helpnet.flexerasoftware.com/installshield20helplib/Content/helplibrary/SetupPrereqEditorRestart.htm
With InstallShield Professional and Premier you can change what occurs in regards to restarting under the behavior tab.
http://helpnet.flexerasoftware.com/installshield20helplib/Content/helplibrary/SetupPrereqEditorRestart.htm
With InstallShield Professional and Premier you can change what occurs in regards to restarting under the behavior tab.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2014
03:58 AM
Hi,
I am experiencing a similar problem and have not found a solution yet.
In my BasicMSI project I have a feature prerequisite that forces a reboot. The reboot occurs when the feature selection has already been made at the end of the UI sequence.
When the system restarts the setup resumes as expected - so far so good.
However, it will start from the very beginning without evaluation any properties and re-runs the feature selection.
I would expect that the setup resumes with remembering the previous feature selection and with a different dialog sequence by evaluating the RESUME property.
Before the reboot I can see that IS CA "ISInstallPrerequisites" writes a registry key in HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce.
String is "ISSetupPrerequisites" and the value keeps the path to the Setup.exe - but without any command line options set.
Also the properties before the reboot are saved in the registry under HKCU\Software\Microsoft\Windows\CurrentVersion\%IS_PREREQUF%-My Product Name
In order to do an effective resume I would expect some command line options like "Setup.exe /v""".
So everything would be there - but is just not used.
Writing an own registry key is not possible since it would get overwritten.
I already contacted the Flexera support but they did not come up with a propper solution yet.
Has anyone an idea?
Thank you!
I am experiencing a similar problem and have not found a solution yet.
In my BasicMSI project I have a feature prerequisite that forces a reboot. The reboot occurs when the feature selection has already been made at the end of the UI sequence.
When the system restarts the setup resumes as expected - so far so good.
However, it will start from the very beginning without evaluation any properties and re-runs the feature selection.
I would expect that the setup resumes with remembering the previous feature selection and with a different dialog sequence by evaluating the RESUME property.
Before the reboot I can see that IS CA "ISInstallPrerequisites" writes a registry key in HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce.
String is "ISSetupPrerequisites" and the value keeps the path to the Setup.exe - but without any command line options set.
Also the properties before the reboot are saved in the registry under HKCU\Software\Microsoft\Windows\CurrentVersion\%IS_PREREQUF%-My Product Name
In order to do an effective resume I would expect some command line options like "Setup.exe /v"
So everything would be there - but is just not used.
Writing an own registry key is not possible since it would get overwritten.
I already contacted the Flexera support but they did not come up with a propper solution yet.
Has anyone an idea?
Thank you!