SMS_InstalledSoftwareMS Client WMI Class

Important

This class is no longer used in Configuration Manager.

The SMS_InstalledSoftwareMS class is a client Windows Management Instrumentation (WMI) class, in Configuration Manager, that merges Microsoft-specific installed software information from multiple sources to provide categorization and Microsoft Licensing information.

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

Syntax

Class SMS_InstalledSoftwareMS   
{  
      String ChannelCode;  
      String ChannelID;  
      String MPC;  
      String ProductCode;  
      String SoftwareCode;  
};  

Methods

The SMS_InstalledSoftwareMS class does not define any methods.

Properties

ChannelCode
Data type: String

Access type: Read-only

Qualifiers: None

The procurement channel for the product. Possible values are:

Value Description
0 Full Packaged Product
1 Compliance Checked Product
2 OEM
3 Volume

ChannelID
Data type: String

Access type: Read-only

Qualifiers: None

Three-digit ID that is also used to indicate the channel as obtained from the ProductID property for Microsoft products. The specific values vary by product.

MPC
Data type: String

Access type: Read-only

Qualifiers: None

Unique five-digit Microsoft Product Code that identifies a specific product family, version, language, and target operating system.

ProductCode
Data type: String

Access type: Read-only

Qualifiers: None

A unique code for the particular product release. This code is represented as a GUID for Microsoft Windows Installer based applications or as the string used by the product to register with Add or Remove Programs.

SoftwareCode
Data type: String

Access type: Read-only

Qualifiers: [key]

A standardized version of the ProductCode property. All characters in the string are lowercase.

Remarks

This class merges information from as many as five sources. The first source is the Microsoft Windows MsiEnumProducts function. This function enumerates through all the products that are currently advertised or installed. Other sources of information for all installed software are the following registry keys:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\[User SID]\Products

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

    The class also gathers information for operating system software from the following sources:

  • WMI class root\CIMV2:Win32_OperatingSystem

  • Registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

Requirements

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Asset Intelligence Client WMI Classes
SMS_AutoStartSoftware Client WMI Class
SMS_BrowserHelperObject Client WMI Class
SMS_InstalledExecutable Client WMI Class
SMS_InstalledSoftware Client WMI Class
SMS_Processor Client WMI Class
SMS_SoftwareShortcut Client WMI Class
SMS_SystemConsoleUsage Client WMI Class
SMS_SystemConsoleUser Client WMI Class