Job\_LogoffEnduserInstallation
Description
Section titled “Description”Defines that the user has to be logged off before script execution will continue.
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
Default behavior is to log off end user.
To change default behavior set gbLogoffUserDefaultNo to true before calling Job_LogoffEnduserInstallation.
Syntax
Section titled “Syntax”Job_LogOffEndUserInstallation() As Boolean
Example
Section titled “Example”VBScript
If bStatus Then bStatus=Job_LogOffEndUserInstallation()Related functions
Section titled “Related functions”Job_AttendedInstallation Job_SilentInstallation