Job_LogoffEnduserInstallation

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

Job_LogOffEndUserInstallation() As Boolean

 

Example

VBScript
If bStatus Then bStatus=Job_LogOffEndUserInstallation()

Scripting Guidelines

 

Related functions

Job_AttendedInstallation Job_SilentInstallation