HOWTO: Prevent Setup Factory from Rebooting the SystemDocument ID: IR02005
The information in this article applies to:
- Setup Factory 6.0
This article explains how to stop Setup Factory from rebooting your user's system.
Note: Only stop Setup Factory from performing a reboot if you know exactly what you are doing, or if you are sure the reboot is not needed.
Setup Factory 6.0 will only need to reboot the user's system if one of the files being overwritten is currently in use on the user's system, and is in use during the installation process. If that is the case Setup Factory will reboot the user's system and replace the file when the computer starts up.
Whether or not a reboot actually occurs after an installation is controlled by the value of the built-in variable %DoReboot%. If %DoReboot% contains a value of TRUE at the end of the installation, the installer will reboot the user's system. If %DoReboot% has a value of FALSE, the installer will not reboot the user's system at the completion of the installation.
So if Setup Factory tries to overwrite a file that is in use during the installation, %DoReboot% will be assigned a value of TRUE. The fact that Setup Factory tries to overwrite the file causes a reboot to be needed, but the reboot actually occurs because %DoReboot% equals TRUE.
If you need to prevent Setup Factory from rebooting your user's system use an Assign Value action to set %DoReboot% to FALSE on the Shutdown event, for example:
Variable name: %DoReboot%
For more information see the following topics in the Help file:
KEYWORDS: reboot, always, stop, %DoReboot%, DoReboot, Shutdown tab
Last reviewed: October 8, 2002
Copyright © 2002 Indigo Rose Corporation. All rights reserved.