+ Reply to Thread
Results 1 to 5 of 5

Thread: Resume after 3rd party installer reboot

  1. #1

    Default Resume after 3rd party installer reboot

    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?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Resume after 3rd party installer reboot

    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

  3. #3

    Default Re: Resume after 3rd party installer reboot

    Quote Originally Posted by linder View Post
    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?

  4. #4
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Resume after 3rd party installer reboot

    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

  5. #5

    Default Re: Resume after 3rd party installer reboot

    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%"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •