Variables
Variable | Type | Description |
---|---|---|
gb9x | Boolean | True if the operating system is Windows 95, 98 or ME |
gb9xWMILoaded | Boolean | True if win9x Windows Management Instrumentation is loaded |
gbADSI | Boolean | True if Microsoft ADSI is available |
gbCancel | Boolean | Job has been cancelled |
gbCapaPC | Boolean | True if the computer has been created using the CapaInstaller PC Creator |
gbDebug | Boolean | If set all function will create extensive log entries. Default is false |
gbDisablelog | Boolean | Disables runtime logging |
gbDisplaymsgBox1 | Boolean | Displays message box 1 |
gbDisplaymsgBox2 | Boolean | Displays message box 2 |
gbDisplaymsgBox3 | Boolean | Displays message box 3 |
gbEnableHWInventory | Boolean | Enable inventory information in deployment logs |
gbEnablePackageSequence | Boolean | Displays all waiting packages (AMO only) |
gbGeneric | Boolean | Generic Boolean Variable |
gbInformuser | Boolean | Informs End-user about process |
gbIsMemberOfBusinessUnit | Boolean | Business Unit membership. Business Unit support |
gbInvokeJobError | Boolean | Invokes JobError |
gbJobErrorAlreadyCalled | Boolean | JobError handling started |
gbJobStart | Boolean | Job has been initialised successfully |
gbLogoffUser | Boolean | Logoffs End-user before starting job |
gbNT | Boolean | True if the operating system is Windows NT or 2000 |
gbRDS | Boolean | True if running on Terminal Server or RDS Role is active |
gbSMS | Boolean | Current platform is Microsoft SMS |
gbSVS | Boolean | Altiris SVS installed (initiated through SVS_Init()) |
gbSuficientDiskSpace | Boolean | Sufficient Diskspace |
gbTerminalServer | Boolean | True if running on Terminal Server or RDS Role is active |
gbWMI | Boolean | WMI is active |
gbx64 | Boolean | The script is running on a 64 bit platform |
gcTotalMemoryInBytes | Currency | Holds the total size of physical memory in bytes |
giCancellationTimeOut | Integer | Number of seconds End-user has to cancel job |
giEndTime | Integer | End-time when job has ended |
giErrorCode | Integer | Returned error-codes |
giJobTrigBalloonTimeOut | Integer | Defines timeout for Ballon messages if they differ from default values |
giMaxCancellationCount | Integer | Maximum number of End-user cancellations allowed |
giMajorVersionNumber | Integer | Major version of installed operating system |
giMinorVersionNumber | Integer | Minor version of installed operating system |
giProcessID | Integer | Contains process id of started process |
giSessionID | Integer | Current sessionID |
giStartTime | Integer | Job starttime |
gsAccountName | String | Cscript/Wscript process owner (defined in Security_init function) |
gsAgentId | String | Represents the AgentID for either the user or computer (the UUID column of the UNIT table) |
gsAllUsers | String | Profile root folder for All users (NT/W2K/XP only) |
gsBiosName | String | The BIOS vendor and version string |
gsBiosSerialNumber | String | The serial stored in the BIOS if it exist |
gsBusinessUnitName | String | The name of the business unit. Business Unit support |
gsCancellationMode | String | Allows End-user to cancel : "IF USER LOGGED ON", NEVER or ALWAYS |
gsCapaInstallerRootFolder | String | CapaInstaller Root Folder (default is <ProgramFiles>\CapaInstaller) |
gsCIPreFix | String | CapaInstaller package prefix (E.g. CI_) |
gsApplicationDataDir | String | Application Data path |
gsCommonAppData | String | Common Application Data path |
gsCommonDesktop | String | Common Desktop path |
gsCommonFilesDir | String | Common files path |
gsCommonFilesDirx86 | String | X86 Common Files path on a 64-bit Operating System |
gsCommonPrograms | String | Common programs path |
gsCommonStartMenu | String | Common Windows Startmenu path |
gsCommonStartup | String | Common Windows Startup path |
gsComputerManufacturer | String | The vendor of the computer |
gsComputerModel | String | The model name |
gsConnectionType | String | Connection type (http or smb) |
gsCPUSpeed | String | The current CPU speed (at job init) |
gsDesktop | String | Current users desktop |
gsEstimatedTime | String | Estimated run time in minutes |
gsErrDesc | String | System Error-description |
gsErrString | String | Custom Error-description |
gsExecutionContext | String | Current execution context. Execution Context |
gsHardDiskName | String | The Harddisk vendor |
gsHardDiskSize | String | Size of Harddisk |
gsHardDiskSerialNumber | String | Serialnumber of Harddisk if exist |
gsInstallationMode | String | Returns Installation Mode (Silent, Attended or Logoff Enduser Installation) |
gsJobName | String | Name of current job |
gsLanguage | String | End-user language. Scripting Library supports English and Danish |
gsLibrary | String | Library path |
gsLog | String | Logfile full pathname |
gsLogDir | String | Logfile path |
gsLogName | String | Log filename |
gsMemory | String | The amount of RAM installed in Mb |
gsMode | String | Current mode set in Job_Start |
gsMSSystem | String | Active Microsoft System |
gsNTSP | String | The Windows NT or 2000 Service Pack level |
gsOsBuild | String | The build of the operating system |
gsOsSystem | String | Operating System platform |
gsPackageRoot | String | PackageRoot path |
gsProductid | String | Package product id |
gsProfileDir | String | Profile folder for all Users e.g. C:\Users\All Users or C:\Users\Public |
gsProfileRoot | String | Profile root folder e.g. C:\Users |
gsProgramFiles | String | Program Files path based on execution environment |
gsProgramFilesx86 | String | X86 Program Files path on a 64-bit Operating System |
gsReleaseID | String | Package Release ID |
gsSMSSiteCode | String | SMS Site ID |
gsStatPath | String | Capalib Statistics path |
gsSystemDir | String | Windows System path |
gsSystemDirx86 | String | Windows x86 System path on a 64-bit Operating System |
gsSysDrive | String | Drive containing system |
gsTask | String | Task Name |
gsTempDir | String | Temporary path |
gsUnitName | String | Holds either Workstation Name or UUID dependend on Agent recognition |
gsUserDomainName | String | User domain name |
gsUserName | String | The user that is is running a job |
gsUserPath | String | User-profile path, e.g. C:\Program Files\CapaInstaller\User Client\<username> |
gsUserProfileDir | String | User home directory, e.g. C:\Users\<username> |
gsUUID | String | The uuid of the unit |
gsWebLogRoot | String | Web log path |
gsWindowsDir | String | Windows path |
gsWorkstationName | String | ComputerName |
gsWorkstationPath | String | CapaInstaller working directory, e.g. C:\Program Files\CapaInstaller\Client |
gsWindowsType | String | NT/2000 type e.g. Professional, Server or Advanced Server |