Share via


SMS_G_System_SoftwareProduct

The SMS_G_System_SoftwareProduct WMI class contains software product information for software files that contain resource strings.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_G_System_SoftwareProduct : SMS_G_System
{
  string CompanyName;
  uint32 ProductId;
  uint32 ProductLanguage;
  string ProductName;
  string ProductVersion;
  uint32 ResourceID;
};

Properties

  • CompanyName
    Data type: string
    Access type: Read-only

    Name of the software manufacturer taken from the company name resource string. This name can be universally changed using the rules defined in SMS_SoftwareConversionRules.

  • ProductId
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    SMS-supplied identifier that uniquely identifies a product. The property links this product with the software file information contained in the SMS_G_System_SoftwareFile class.

  • ProductLanguage
    Data type: uint32
    Access type: Read-only

    Locale identifier taken from the language resource string.

  • ProductName
    Data type: string
    Access type: Read-only

    Value of the product name resource string.

  • ProductVersion
    Data type: string
    Access type: Read-only

    Value of the product version resource string.

  • ResourceID
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    SMS-supplied identifier that uniquely identifies a resource (SMS client). A ResourceID value is not unique outside the site.

Remarks

The Software Inventory Agent inventories those file types identified in the site control file. To identify the file types to inventory:

  1. Query the site control item SMS_SCI_ClientComp for the instance whose value for ClientComponentName is Software Inventory Agent.

  2. Loop through its embedded property list.

    When the value for PropertyName is Inventoriable Types, update the comma-delimited list of file types (extensions) in the Value2 property.

    When the value for PropertyName is Inventory Schedule, update the interval string in the Value2 property. For details on creating an interval string, see the example for the WriteToString method.

    When the value for PropertyName is Report Options, update the reporting options value in the Value property. You must specify at least one reporting option for software inventory to be collected. The following table lists the reporting options.

    Reporting option Description
    Product version information.
    Bit 0.
    Inventories products that contain company and product resource information.
    Files associated with known products.
    Bit 1.
    Inventories files associated with products that contain company and product resource information. For example, Wwintl32.dll is inventoried because it is associated with Microsoft Word.

    Only set this bit if the product version information reporting option is selected.

    Files not associated with known products.
    Bit 2.
    Inventories files that do not include company and product resource information (unknown files).
  3. Update the site control file with your changes.

For information on updating the site control file, see the example in Managing Site Control Configuration.

Note  Collecting inventory information for some file types, such as DLL files, can generate a large volume of network traffic and substantially increase the size of the SMS database. For this reason, test any changes you make in a test environment before implementing in a production environment.

See Also

Managing Site Control Configuration, Resource Management Classes, SMS_G_System_CollectedFile, SMS_G_System_LastSoftwareScan, SMS_G_System_SoftwareFile, SMS_G_System_UnknownFile, SMS_SoftwareConversionRules