The Program object represents an SMS program.
Table B.11 Program Object Type (SMS_Program)
Property | Data type | Example | Notes |
---|---|---|---|
ApplicationHierarchy | string | ||
CommandLine | string | "setup.exe /QN1 /B2" | Indicates the command line that is executed when the program is run. |
Comment | string | "Any comment" | Indicates a comment on the program. |
DependentProgram | string | "ABC0001;;Setup" | Defines any program that should be run before the current program runs. The format is defined as ‘Package ID;;Program Name’. |
Description | string | "Custom installation" | Describes the program. |
DiskSpaceReq | string | "0" | Indicates the approximate disk space the program requires. |
DriveLetter | string | "x" | Indicates the drive letter that the program maps and runs from when it is run. |
Duration | uint32 | 2 | Indicates the approximate amount of time, in minutes, that the program takes to run. |
Icon[] | uint8 | NULL | Represents an array of icon information related to the program. |
IconSize | uint32 | 0 | Lazy. Indicates the icon size. |
PackageID | string | "TTG00001" | Provides the PackageId of a pre-existing package that this program is associated with. |
ProgramFlags | uint32 | See “Interpreting Bitfield Properties” at the beginning of this appendix. | Indicates the status of the program.
Bit flags are: |
ProgramName | string | "Custom installation" | Represents the program name with a required, unique text string. |
RemovalKey | string | "IE40" | Indicates the registry key that contains the uninstall script for the program. This script is invoked for a client when the last advertisement containing this program is revoked from the client. |
Requirements | string | "Any comment." | Describes any additional requirements of the program. |
SupportedOperatingSystems[] | SMS_OS_Details | Lazy. An array of SMS_OS_Details that describe certain specified platforms that the program can run on. | |
WorkingDirectory | string | "i386" | Indicates an executable directory for the program. |