The SMS_InstalledExecutable class is a client Windows Management Instrumentation (WMI) class, in Configuration Manager, that identifies executable files associated with a software installation.

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

Class SMS_InstalledExecutable
{
	String BinFileVersion;
	String BinProductVersion;
	String Description;
	String ExecutableName;
	String FilePropertiesHash;
	String FilePropertiesHashEx;
	UInt32 FileSize;
	String FileVersion;
	Boolean HasPatchAdded;
	String InstalledFilePath;
	Boolean IsSystemFile;
	Boolean IsVitalFile;
	UInt32 Language;
	String Product;
	String ProductCode;
	String ProductVersion;
	String Publisher;
};

Methods

The SMS_InstalledExecutable class does not define any methods.

Properties

BinFileVersion


Data type: StringAccess type: Read-onlyQualifiers: NoneReserved. For internal use.
BinProductVersion


Data type: StringAccess type: Read-onlyQualifiers: NoneReserved. For internal use.
Description


Data type: StringAccess type: Read-onlyQualifiers: NoneFile description that can be presented to users, for example, "Keyboard driver for AT-style keyboards" or "Microsoft Word for Windows".
ExecutableName


Data type: StringAccess type: Read-onlyQualifiers: [key]Name of the file, including the extension but excluding the path, for example, "Notepad.exe".
FilePropertiesHash


Data type: StringAccess type: Read-onlyQualifiers: NoneA unique 128-bit signature that is derived from a combination of the Product, Description, ProductVersion, Publisher, and FileName properties of the file.
FilePropertiesHashEx


Data type: StringAccess type: Read-onlyQualifiers: NoneA unique 128-bit signature that is derived from a combination of the Product, Description, ProductVersion, Publisher, FileName, FileVersion, BinProductVersion, and BinFileVersion properties of the file.
FileSize


Data type: UInt32Access type: Read-onlyQualifiers: NoneSize of the file, in bytes.
FileVersion


Data type: StringAccess type: Read-onlyQualifiers: NoneThe version of the file, for example, "12.0.4518.1014".
HasPatchAdded


Data type: BooleanAccess type: Read-onlyQualifiers: Nonetrue if the file was added as part of a patch to the product to which it belongs.
InstalledFilePath


Data type: StringAccess type: Read-onlyQualifiers: NoneThe path where the file is located, for example, "C:\Program Files\Microsoft Office".
IsSystemFile


Data type: BooleanAccess type: Read-onlyQualifiers: Nonetrue if the file is a system file.
IsVitalFile


Data type: BooleanAccess type: Read-onlyQualifiers: Nonetrue if the file is vital for the accurate operation of the product to which it belongs.
Language


Data type: UInt32Access type: Read-onlyQualifiers: NoneID of the language for which the file is intended, for example, "1033".
Product


Data type: StringAccess type: Read-onlyQualifiers: NoneThe name of the product with which the file is distributed, for example, "Microsoft Windows".
ProductCode


Data type: StringAccess type: Read-onlyQualifiers: [key] GUID that is the principal identifier for an application or product. For more information, see the Microsoft Windows Installer documentation.
ProductVersion


Data type: StringAccess type: Read-onlyQualifiers: NoneThe version of the product with which the file is distributed, for example, "4.2.0.2623".
Publisher


Data type: StringAccess type: Read-onlyQualifiers: NoneThe company that produced the file, for example, "Microsoft Corporation" or "Standard Microsystems Corporation, Inc.".

Remarks

Note
This class is not currently used to support existing Asset Intelligence reports. However, it can be enabled to support custom reports.

This class identifies executable files associated with a software installation to:

  • Confirm that the application is installed by looking at Configuration Manager file inventory.

  • Indicate what metering rules, based on the executable files, have to be set to meter the application.

  • Perform an application impact analysis.

Because the Windows Installer (.msi) file contains a record of the installed executable files, it can be used as the source for the mapping between installed applications and executable files.

This class retrieves data from two sources. For each SMS_InstalledSoftware Client WMI Class object, the class identifies the .msi package by looking in the LocalPackage property, and queries the .msi database for all .exe and .com files.

For any SMS_InstalledSoftware Client WMI Class object that has the LocalPackage property set to null, the SMS_InstalledExecutable class inventories all executable files in the directory that are identified by the InstallLocation property. Executable files that are installed outside of the main installation directory are not inventoried.

Note
This class does not inventory executable files located in the %windir% and %systemroot% directories.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.