![]()
|
InstallShield 2008 ยป InstallScript Language Reference
The RebootDialog function displays a dialog that allows the end user to reboot the computer. The selected option is performed at the end of the installation.
When you call a function with the SHAREDFILE or LOCKEDFILE option and locked .dll or .exe files are encountered, updated versions of the locked files are copied to the target system and the system variable BATCH_INSTALL is set to TRUE. RebootDialog automatically commits the locked files for update when the system is restarted, unless the user selects the No, I will restart my computer later option.
InstallShield makes every attempt not to restart the system when other instances of InstallShield are running. Because of this, you must make sure all other instances of InstallShield are shut down before calling RebootDialog. Your message to end users should request that they ensure all other applications are shut down before restarting the system.
Note
An alternative to the RebootDialog function is SdFinishReboot, which has a better look and feel than the RebootDialog dialog.
RebootDialog ( szTitle, szMsg, nDefChoice );
The message box that is displayed by the RebootDialog function cannot be displayed with a skin; it appears the same regardless of whether you have specified a skin.
See Also
|
|
Copyright Information | Contact Macrovision |