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
- :
- OnRebooted does not work
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
‎Jun 29, 2008
06:16 PM
how to continue install after restart in a Installscript project?
now i'm working on a Installscript project. i set the runonce key to restart the computer and then how can i back to my installer and continue the installation? If i set runonce key to run setup.exe, the installation is not continue from the point but run installer again?
Help! thanks in advance!
Help! thanks in advance!
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2008
12:42 PM
For InstallScript projects, please search the online help for the event name "OnRebooted".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2008
09:59 PM
not much information about "OnRebooted" event on the web, i still don't know how to use it. if i don't set the runonce key, just use "SdFinishReboot" to work with "OnRebooted" event, it doesn't work. so anyone have anyidea about this? or give a small example.
i really want to know how to call "OnRebooted" event, or if it is called automatically after rebooted, then before reboot, what should i set first?
i really want to know how to call "OnRebooted" event, or if it is called automatically after rebooted, then before reboot, what should i set first?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2008
09:23 AM
Please see the InstallShield help topic "Understanding When an Installation or Uninstallation Restarts the Target System" (found by searching for "OnRebooted").
A quick test in which I set BATCH_INSTALL=TRUE; in OnBegin to request a later reboot, and then included this---
A quick test in which I set BATCH_INSTALL=TRUE; in OnBegin to request a later reboot, and then included this---
function OnRebooted( )---resulted in the installer offering to reboot at the end, and then calling only OnRebooted after the reboot. As described in that help topic, the RunOnce key is set up automatically when you set BATCH_INSTALL.
begin
MessageBox("Calling OnRebooted...", INFORMATION);
end;
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2008
08:54 PM
thank you so much,Robert. It works!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 04, 2009
12:54 PM
Hi Robert,
Did exactly that in InstallShield 2008 InstallScript Project - nothing had happened after reboot.
Correction - nothing happens on Win2003, but on XP I get an error "Setup is not found" with the location pointing to - supposedly - cached install.
Except this install is not cached.
Any suggestions?
Thank you,
Masha
Did exactly that in InstallShield 2008 InstallScript Project - nothing had happened after reboot.
Correction - nothing happens on Win2003, but on XP I get an error "Setup is not found" with the location pointing to - supposedly - cached install.
Except this install is not cached.
Any suggestions?
Thank you,
Masha
RobertDickau wrote:
Please see the InstallShield help topic "Understanding When an Installation or Uninstallation Restarts the Target System" (found by searching for "OnRebooted").
A quick test in which I set BATCH_INSTALL=TRUE; in OnBegin to request a later reboot, and then included this---function OnRebooted( )---resulted in the installer offering to reboot at the end, and then calling only OnRebooted after the reboot. As described in that help topic, the RunOnce key is set up automatically when you set BATCH_INSTALL.
begin
MessageBox("Calling OnRebooted...", INFORMATION);
end;
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 04, 2009
02:04 PM
If this is an uninstall, the cached setup files are removed and therefore cannot be launched after a reboot. The error that appears after reboot is resolved in IS 2009.
If this is an installation with maintenance disabled, the setup files are never cached (because there would be no opportunity to remove them). Therefore, it is not possible to run the setup after reboot if maintenance is disabled. The error that appears after reboot will be resolved in a future release of InstallShield.
If this is an installation with maintenance disabled, the setup files are never cached (because there would be no opportunity to remove them). Therefore, it is not possible to run the setup after reboot if maintenance is disabled. The error that appears after reboot will be resolved in a future release of InstallShield.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 04, 2009
02:17 PM
Ah, this is exactly it! Maintenance IS disabled.
How come this is not mentioned anywhere? Very, very frustrating.
Thank you for your answer!
Masha
How come this is not mentioned anywhere? Very, very frustrating.
Thank you for your answer!
Masha
joshstechnij wrote:
If this is an installation with maintenance disabled, the setup files are never cached (because there would be no opportunity to remove them). Therefore, it is not possible to run the setup after reboot if maintenance is disabled. The error that appears after reboot will be resolved in a future release of InstallShield.