+ Reply to Thread
Results 1 to 7 of 7

Thread: Setup Reboot question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2015
    Location
    CA, Unitedd States
    Posts
    130

    Question Setup Reboot question

    Hello:

    I've got my setup pretty much finished, now the grand master plan is to require a reboot to apply the changes. Where is that setting in the script or in the graphical interface? so the workflow goes:

    Launch setup >> Next >> Next >> Next >> Drop files and folders >> Finish screen with the two radio buttons "Yes, Reboot This Computer Now." and "No, I Will Manually Reboot Later" once the user hits finish the respective action will take place. on the finish dialog obviously is the standard "you've successfully installed this package..." and at the bottom or somewhere a reminder to save any open work if the user elects to reboot immediately.

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

    Default Re: Setup Reboot question

    Hello,

    You can use the "Set Installer Flag..." function to suppress a reboot request at the end of the installation.

    For example:

    Set Installer Flag $SB_RESTARTFLAG$ to "0"

    Does this help?

    Friedrich

  3. #3
    Join Date
    Apr 2015
    Location
    CA, Unitedd States
    Posts
    130

    Default Re: Setup Reboot question

    OK where in the script would the set installer flag go? towards the end by the finish dialog? where would I set that line?

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

    Default Re: Setup Reboot question

    Hello,

    I would suggest to add it after the last Loop Wizard/End Statement.

    Friedrich

  5. #5
    Join Date
    Apr 2015
    Location
    CA, Unitedd States
    Posts
    130

    Default Re: Setup Reboot question

    Cool .

    Testing it now, lets give it a go

    Setup builder rocks!

  6. #6
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Setup Reboot question


  7. #7
    Join Date
    Apr 2015
    Location
    CA, Unitedd States
    Posts
    130

    Default Re: Setup Reboot question

    Quote Originally Posted by linder View Post
    Hello,

    You can use the "Set Installer Flag..." function to suppress a reboot request at the end of the installation.

    For example:

    Set Installer Flag $SB_RESTARTFLAG$ to "0"

    Does this help?

    Friedrich
    When setting the flag to 0 the reboot prompt failed to appear, however setting the flag to 1 fixed the issue. otherwise that fixed me

+ 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
  •