Package Object Type

Packages are the basic units of software distribution; they include programs and the source files required to run the programs.

Table B.9 Package Object Type (SMS_Package)

PropertyData typeExampleNotes
ActionInProgress uint32 0Indicates the current action that SMS performs on the package.

Values are:
0=NONE
1=UPDATE
2=ADD
3=DELETE

Description string Provides the long description of the package.
ForcedDisconnectDelay uint32 0Indicates the time, in minutes, that SMS waits before forcibly disconnecting users from the package source file share.
ForcedDisconnectEnabled Boolean FALSEIndicates whether SMS forcibly disconnects users from the package share. This property is used when package source files are being updated.

Values are:
TRUE
FALSE

If the value is TRUE, SMS forcibly disconnects users from the share.

ForcedDisconnectNumRetries uint32 0Indicates the number of times SMS attempts to disconnect users from package shares.
Icon[]uint8 NULLRepresents an array of icon information for the package.
IconSize uint323478Lazy. Indicates the icon size.
IgnoreAddressSchedule Boolean FALSEIndicates whether SMS ignores the schedule set for the sender.

Values are:
TRUE
FALSE

If the value is TRUE, SMS ignores any schedule set for the sender.

Language string"English"Indicates the language of the package.
LastRefreshTime datetimeSee “Date and Time Formats” at the beginning of this appendix.Indicates the time when the package was last updated on its distribution points.
Manufacturer string "Microsoft"Indicates the manufacturer of the package.
MIFFilename string "Off97*.MIF"Indicates the name of the MIF file that contains the package status.
MIFName string Indicates the name of the package.
MIFPublisher string Indicates the software publisher of the package.
MIFVersion string Indicates the version number of the package.
Name string "Office 97"Indicates the name of the package.
PackageID string "TTG00001"Key. Represents a identifier for this package.
PkgFlags uint32 0Determines whether SMS uses special details for MIF matching.

USE_SPECIAL_MIF (bit 29 = 536870912)

PkgSourceFlag uint322Indicates how the package source should be stored.

Bit flags are:
Bit 0 = STORAGE_NEEDS_SPECIFYING
Bit 1 = STORAGE_NO_SOURCE
Bit 2 = STORAGE_DIRECT
Bit 3 = STORAGE_COMPRESS
Bit 4 = STORAGE_LOCAL

PkgSourcePath string"I:\OFFICE97.95\
RETAIL"
Indicates the full path of the actual location of the package source files.
PreferredAddressType string Indicates the preferred sender to use for package distribution.

Values are:
ADDR_NONE()
ADDR_LAN (MS_LAN)
ADDR_MAPI (MS_MAPI)
ADDR_RAS _ASYNC (MS_ASYNC_RAS)
ADDR_RAS_ISDN (MS_ISDN_RAS)
ADDR_RAS_X25 (MS_X25_RAS)
ADDR_RAS_SNA (MS_SNA_RAS)
ADDR_SNA_BATCH(MS_BATCH_SNA)
ADDR_SNA_INTER (MS_INTER_SNA)
ADDR_COURIER (MS_COURIER)

Priority uint32 2Indicates the sending priority of the package.

Values are:
1=HIGH
2=NORMAL
3=LOW

RefreshPkgSourceFlag Boolean FALSELazy. Causes a refresh of the package source files if set to TRUE.

Values are:
TRUE
FALSE

RefreshSchedule[] SMS_
Schedule_
token
NULLLazy. An embedded array of SMS_Schedule_Tokens that define when SMS updates the package on distribution points.
ShareName string Indicates the name of the share that SMS offers the package from.
ShareType uint32 1Indicates the type of share used when sharing the package, either based from a common SMS package, or an individual package share.

Values are:
1= SHARE_COMMON
2= SHARE_SPECIFIC

SourceDatedatetimeSee “Date and Time Formats” at the beginning of this appendix.Date when the SourceVersion was changed.
SourceSite string "TTG"Indicates the site code of the originating site.
SourceVersionuint321Version number of the source.
StoredPkgPath string"\\\\GREEN1\\
SMS_CPSE$\\
GRN00002.PCK"
Indicates the full path to the location where SMS stores the package.
StoredPkgVersion uint32 0Indicates the version number of the stored package. Packages are given a 1.0 version when stored, and this number is incremented by 1 at each update.
Version string "6.0"Indicates the version of the software in the package.