InstallShield uses several methods to determine if a target machine should be restarted after running the InstallShield prerequisite.
The target machine may need to be restarted if any of the following registry keys have been modified after the InstallShield prerequisite has been run:
The registry keys are counted before and after the InstallShield prerequisite is run. If these numbers are not the same, it is assumed that the file is trying to restart the system and exit the installation.
If the exit code of the .exe file matches the return code specified in the InstallShield prerequisite file (.prq), the target machine may need to be restarted. The return code of the .prq file is entered in the Specify the return code the application returns if a reboot is required box of the InstallShield Prerequisite Editor. For more information, see.
The target machine may need to be restarted if a reboot state is returned for an .msi package that is run for an InstallShield prerequisite. The standard Windows Installer reboot return codes are:
One of the fields on the Behavior tab in the InstallShield Prerequisite Editor enables you to specify what should happen if any of the aforementioned conditions are or are not applicable to a particular InstallShield prerequisite. For more information, see.
Copyright Information | Contact Us