View Full Version : Resume after 3rd party installer reboot
shares
11-20-2008, 01:05 PM
My installer installs .Net 3.5 which prompts the user to reboot.
How can I get my installer to resume after being rebooted by a third party installer?
linder
11-21-2008, 04:12 AM
Hello,
Please see the "Reboot and Resume.sb6" demo project in the Examples package.
You can use the "Reboot Computer System and Resume" function.
Does this help?
Friedrich
shares
11-21-2008, 11:23 AM
Hello,
Please see the "Reboot and Resume.sb6" demo project in the Examples package.
Friedrich
Thanks Friedrich, I've looked at that demo, but it's the .Net 3.5 installer (which is included in my installer) that does the rebooting. So I need a command that will cause my installer to resume after reboot if a .Net 3.5 happens.
I can't be the only one who needs to install .Net 3.5, what do others do about this?
linder
11-21-2008, 11:36 AM
I think what most developers are doing is they suppress the reboot and then use the function I suggested.
Just call the .NET35 redistributable with the /norestart command line switch and then reboot/continue.
Does this help?
Friedrich
shares
11-21-2008, 03:38 PM
For others that might need to do this, I have found that adding the following lines before the 3rd party installer is invoked will cause the installer to resume
Set Variable %THIS_PROGRAM% to FUNCTION:Get System Information(Installer File Name)
Set Variable %THIS_PATH% to FUNCTION:Get System Information(Installer Path Name)
Add RegistryRunOnce Entry "%THIS_PATH%"
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.