Job_LogoffEnduserInstallation
Description
Section titled “Description”Sets the installation mode to logoff. In this mode, Job_InstallationStart asks the logged-on user to log off before script execution continues. The user is also informed when the installation starts and ends.
Only the active user is being logged off. If multiple users are logged on to the same workstation, the Job will stop running.
In order to circumvent this you can check to see if more than one user has an explorer.exe process opened before executing the command Job_LogOffEndUserInstallation
By default, the log off button is the default button in the logoff message. To make Cancel the default button, set gbLogoffUserDefaultNo to TRUE before calling Job_LogoffEnduserInstallation.
The function always returns TRUE.
Syntax
Section titled “Syntax”Job_LogOffEndUserInstallation() As Boolean
Example
Section titled “Example”If bStatus Then bStatus=Job_LogOffEndUserInstallation()Related functions
Section titled “Related functions”Job_AttendedInstallation Job_SilentInstallation Job_InstallationStart Constants Package Property Variables