Skip to content

Constants

ConstantTypeDescription
Error_successNumericSuccessfull function call
O_ReadNumericRead-only access of object
O_WriteNumericFull access of object
O_appendNumericAppend-Access of object
ConstantTypeDescription
HKEY_CLASSES_ROOTNumericRegistry hive root
HKEY_LOCAL_MACHINENumericRegistry hive root
HKEY_CURRENT_USERNumericRegistry hive root
HKEY_USERSNumericRegistry hive root
HKEY_CURRENT_CONFIGNumericRegistry hive root available from CI5.1 Build 105
REG_SZNumericTypecode for string
REG_EXPAND_SZNumericTypecode for expanded string value
REG_BINARYNumericTypecode for binary value
REG_DWORDNumericTypecode for numeric value
REG_MULTI_SZNumericTypecode for multi string value
REG_QWORDNumericTypecode for numeric value
STR_REG_SZStringTypecode for string value
STR_REG_EXPAND_SZStringTypecode for expanded string value
STR_REG_BINARYStringTypecode for binary value
STR_REG_DWORDStringTypecode for numeric value
STR_REG_MULTI_SZStringTypecode for multi string value
STR_REG_QWORDStringTypecode for numeric value
ConstantTypePermissionsDescription
FILE_NORMALNumericspecial***Normal file. No attributes are set
FILE_READONLYNumeric read/writeRead-only file.
FILE_HIDDENNumericread/writeHidden file.
FILE_SYSTEMNumericread/writeSystem file.
FILE_DIRECTORYNumericread-only**Folder or directory.
FILE_ARCHIVENumericread/writeFile has changed since last backup.
FILE_COMPRESSEDNumericread-only**Compressed file.

*  Only clears r/w attributes. Will not clear read-only attributes

** Read-only attributes cannot be set from VBScript

Read more

ConstantTypeValue
MSI_BAD_CONFIGURATIONStringBad configuration.
MSI_INVALID_ARGUMENTStringInvalid argument.
MSI_NOT_INSTALLEDStringThe package is not installed.
MSI_IS_ADVERISED_NOT_INSTALLEDStringThe package is advertised, but not installed.
MSI_IS_ABSENTStringThe package is absent.
MSI_IS_INSTALLEDStringThe package is installed.
ConstantTypeValue
SCS_RunningStringRunning
SCS_StoppedStringStopped
SCS_PausedStringPaused
SCS_StartPendingStringStartPending
SCS_StopPendingStringStopPending
SCS_PausePendingStringPausePending
SCS_ContinuePendingStringContinuePending
ConstantTypeValue
SSM_BootStringBoot
SSM_SystemStringSystem
SSM_AutomaticStringAutomatic
SSM_AutomaticDelayedStringAutomaticDelayed
SSM_ManualStringManual
SSM_DisabledStringDisabled
ConstantTypeValue
EC_UNKNOWNStringUNKNOWN ‘Initial undefined value’
EC_32On32String32On32
EC_32On64String32On64
EC_64On64String64On64
ConstantTypeValue
OS_UNKNOWNStringUnknown
OS_WINDOWS_NT40StringWindows NT 4.0 Workstation
OS_WINDOWS_2KStringWindows 2000
OS_WINDOWS_XPStringWindows XP Professional
OS_WINDOWS_XP_X64StringWindows XP Professional x64
OS_WINDOWS_VISTAStringWindows Vista
OS_WINDOWS_7StringWindows 7
OS_WINDOWS_8StringWindows 8
OS_WINDOWS_81StringWindows 8.1
OS_WINDOWS_10StringWindows 10
ConstantTypeValue
OS_WINDOWS_NT40_SERVERStringWindows NT 4.0 Server
OS_WINDOWS_NT40_DOMAINStringWindows NT 4.0 Domain Controller
OS_WINDOWS_2K_SERVERStringWindows 2000 Server
OS_WINDOWS_2K_ADVANCED_SERVERStringWindows 2000 Advanced Server
OS_WINDOWS_SERVER_2003StringWindows Server 2003
OS_WINDOWS_SERVER_2008StringWindows Server 2008
OS_WINDOWS_SERVER_2008_R2StringWindows Server 2008 R2
OS_WINDOWS_SERVER_2012StringWindows Server 2012
OS_WINDOWS_SERVER_2012_R2StringWindows Server 2012 R2
OS_WINDOWS_SERVER_2016StringWindows Server 2016