Export (0) Print
Expand All

SMS_OperatingSystemInstallPackage Server WMI Class

System Center

Updated: October 28, 2009

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The SMS_OperatingSystemInstallPackage Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that serves as the unit of distribution for source files that are used in a scripted installation of a valid operating system, for example, Windows Vista, on a client computer.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.


Class SMS_OperatingSystemInstallPackage : SMS_PackageBaseclass
{
      UInt32 ActionInProgress;
      String AlternateContentProviders;
      String Description;
      UInt8 ExtendedData[];
      UInt32 ExtendedDataSize;
      UInt32 ForcedDisconnectDelay;
      Boolean ForcedDisconnectEnabled;
      UInt32 ForcedDisconnectNumRetries;
      UInt8 Icon[];
      UInt32 IconSize;
      Boolean IgnoreAddressSchedule;
      String ImageProperty;
      UInt8 ISVData[];
      UInt32 ISVDataSize;
      String Language;
      DateTime LastRefreshTime;
      String Manufacturer;
      String MIFFilename;
      String MIFName;
      String MIFPublisher;
      String MIFVersion;
      String Name;
      String PackageID;
      UInt32 PackageType;
      UInt32 PkgFlags;
      UInt32 PkgSourceFlag;
      String PkgSourcePath;
      String PreferredAddressType;
      UInt32 Priority;
      Boolean RefreshPkgSourceFlag;
      SMS_ScheduleToken RefreshSchedule[];
      String ShareName;
      UInt32 ShareType;
      DateTime SourceDate;
      String SourceSite;
      UInt32 SourceVersion;
      String StoredPkgPath;
      UInt32 StoredPkgVersion;
      String Version;
};

The following table shows the methods in SMS_OperatingSystemInstallPackage.

 

Method Description

AddChangeNotification Method in Class SMS_OperatingSystemInstallPackage

Adds an operating system install package change notification.

AddDistributionPoints Method in Class SMS_Package

Adds the distribution points for the operating system install package.

GetImageProperties Method in Class SMS_OperatingSystemInstallPackage

Reads all image properties from the specified WIM file to an XML string.

RefreshPkgSource Method in Class SMS_Package

Refreshes the package source at all distribution points, when the package properties have not changed.

ReloadImageProperties Method in Class SMS_OperatingSystemInstallPackage

Reloads image properties from the source WIM file and updates the database.

SetSourceSite Method in Class SMS_OperatingSystemInstallPackage

Sets the code of the source site for the operating system install package.

Unlock Method in Class SMS_OperatingSystemInstallPackage

Sets the source site to the current site, unlocking the operating system install package.

ActionInProgress
Data type: UInt32

Access type: Read-only

Qualifiers: [read, ResID(733), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("ActionInProgress")]

See SMS_PackageBaseclass Server WMI Class.

AlternateContentProviders
Data type: String

Access type: Read/Write

Qualifiers: [ResID(739), ResDLL("SMS_RSTT.dll"), large, lazy]

See SMS_PackageBaseclass Server WMI Class.

Description
Data type: String

Access type: Read/Write

Qualifiers: [ResID(706), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

ExtendedData
Data type: UInt8 Array

Access type: Read/Write

Qualifiers: [ResID(735), ResDLL("SMS_RSTT.dll"), large, lazy]

See SMS_PackageBaseclass Server WMI Class.

ExtendedDataSize
Data type: UInt32

Access type: Read/Write

Qualifiers: [lazy, ResID(736), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

ForcedDisconnectDelay
Data type: UInt32

Access type: Read/Write

Qualifiers: [ResID(719), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

ForcedDisconnectEnabled
Data type: Boolean

Access type: Read/Write

Qualifiers: [ResID(717), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

ForcedDisconnectNumRetries
Data type: UInt32

Access type: Read/Write

Qualifiers: [ResID(718), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

Icon
Data type: UInt8 Array

Access type: Read/Write

Qualifiers: [ResID(724), ResDLL("SMS_RSTT.dll"), large]

See SMS_PackageBaseclass Server WMI Class.

IconSize
Data type: UInt32

Access type: Read/Write

Qualifiers: [lazy, ResID(723), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

IgnoreAddressSchedule
Data type: Boolean

Access type: Read/Write

Qualifiers: [ResID(722), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

ImageProperty
Data type: String

Access type: Read/Write

Qualifiers: [lazy]

An XML string holding image properties of the source .wim file. The default value is "".

ISVData
Data type: UInt8 Array

Access type: Read/Write

Qualifiers: [ResID(737), ResDLL("SMS_RSTT.dll"), large, lazy]

See SMS_PackageBaseclass Server WMI Class.

ISVDataSize
Data type: UInt32

Access type: Read/Write

Qualifiers: [lazy, ResID(738), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

Language
Data type: String

Access type: Read/Write

Qualifiers: [ResID(704), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

LastRefreshTime
Data type: DateTime

Access type: Read-only

Qualifiers: [read, ResID(726), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

Manufacturer
Data type: String

Access type: Read/Write

Qualifiers: [ResID(705), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

MIFFilename
Data type: String

Access type: Read/Write

Qualifiers: [ResID(729), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

MIFName
Data type: String

Access type: Read/Write

Qualifiers: [ResID(731), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

MIFPublisher
Data type: String

Access type: Read/Write

Qualifiers: [ResID(730), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

MIFVersion
Data type: String

Access type: Read/Write

Qualifiers: [ResID(732), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

Name
Data type: String

Access type: Read/Write

Qualifiers: [ResID(702), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

PackageID
Data type: String

Access type: [key, ResID(701), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

PackageType
Data type: UInt32

Access type: Read/Write

Qualifiers: [ResID(734), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

For this class, the package type is PKG_TYPE_OSINSTALLIMAGE (259).

PkgFlags
Data type: UInt32

Access type: Read/Write

Qualifiers: [bits, ResID(728), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

PkgSourceFlag
Data type: UInt32

Access type: Read/Write

Qualifiers: [ResID(707), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("PkgSourceFlag")]

See SMS_PackageBaseclass Server WMI Class.

PkgSourcePath
Data type: String

Access type: Read/Write

Qualifiers: [ResID(708), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

PreferredAddressType
Data type: String

Access type: Read/Write

Qualifiers: [ResID(721), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

Priority
Data type: UInt32

Access type: Read/Write

Qualifiers: [ResID(720), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("Priority")]

See SMS_PackageBaseclass Server WMI Class.

RefreshPkgSourceFlag
Data type: Boolean

Access type: Read/Write

Qualifiers: [lazy, ResID(709), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

RefreshSchedule
Data type: SMS_ScheduleToken Array

Access type: [max(15), lazy, ResID(725), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

ShareName
Data type: String

Access type: Read/Write

Qualifiers: [ResID(715), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

ShareType
Data type: UInt32

Access type: Read/Write

Qualifiers: [ResID(714), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("ShareType")]

See SMS_PackageBaseclass Server WMI Class.

SourceDate
Data type: DateTime

Access type: Read-only

Qualifiers: [read, ResID(713), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

SourceSite
Data type: String

Access type: Read-only

Qualifiers: [read, ResID(716), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

SourceVersion
Data type: UInt32

Access type: Read-only

Qualifiers: [read, ResID(712), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

StoredPkgPath
Data type: String

Access type: Read/Write

Qualifiers: [ResID(710), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

StoredPkgVersion
Data type: UInt32

Access type: Read/Write

Qualifiers: [ResID(711), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

Version
Data type: String

Access type: Read/Write

Qualifiers: [ResID(703), ResDLL("SMS_RSTT.dll")]

See SMS_PackageBaseclass Server WMI Class.

Class qualifiers for this class include:

  • Secured

  • Icon("Package.ico")

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

To get started using this class, see How to Add an Operating System Install Package in Configuration Manager.

Runtime Requirements

Development Requirements

Show:
© 2014 Microsoft