PDF Program

The SMS_PDF_Program class represents a template from which programs can be created. The programs will be initialized with the data from the package definition file (PDF).

Table B.17 PDF Program (SMS_PDF_Program)

PropertyData typeExampleNotes
CommandLinestring"winnt.exe /b /S:."Indicates the command to run to install this package.
Commentstring"Any comment."Any explanatory comment.
DependentProgramstring A formatted text string that defines any program that must be run prior to execution of the current program. The format is defined as: <PackageID>;; <ProgramName>.
Descriptionstring"Manual upgrade from Win 95"Indicates the friendly name of the program.
DiskSpaceReqstring"50 MB"The approximate disk space the program will require.
DriveLetterstring Size limit 1. Range: a-z.
Durationuint3230Indicates the estimated time in minutes to run the program.
Icon[]uint8 Lazy. Array of icon data.
IconSizeuint320Lazy. Indicates the size of the icon.
PDFIDuint327Key. Indicates the ID number of the package associated with this program.
ProgramFlagsuint32See “Interpreting Bitfield Properties” at the beginning of this appendix.Indicates the status of the program.

Bit flags are:
Bit 12 = DISABLED
Bit 13 = UNATTENDED
Bit 14 = USERCONTEXT
Bit 15 = ADMINRIGHTS
Bit 16 = EVERYUSER
Bit 17 = NOUSERLOGGEDIN
Bit 18 = OKTOQUIT
Bit 19 = OKTOREBOOT
Bit 20 = USEUNCPATH
Bit 21 = PERSISTCONNECTION
Bit 22 = RUNMINIMIZED
Bit 23 = RUNMAXIMIZED
Bit 24 = HIDEWINDOW
Bit 25 = OKTOLOGOFF
Bit 26 = RUNACCOUNT
Bit 27 = ANY_PLATFORM
Bit 28 = STILL_RUNNING
Bit 29 = SUPPORT_UNINSTALL

ProgramNamestring"Manual upgrade from Win 95"Key. Indicates the friendly name of the program.
Publisherstring"Microsoft"Publisher of the program.
Requirementsstring"Any comment."Can be any explanatory comment.
WorkingDirectorystring"i386"Indicates the name of the directory where the package resides.