Edit

Share via


Component object

The Component object represents a unique instance of a component that is available for enumeration.

Windows Installer 4.5 or earlier: Not supported. This object is available beginning with Windows Installer 5.0.

Members

The Component object has these types of members:

Properties

The Component object has these properties.

Property Description
ComponentCode
The component code of the component in question.
Context
The context that was determined to be applicable to the component in question.
UserSID
The user SID for the enumerated component.

Requirements

Requirement Value
Version
Windows Installer 5.0 or later.
DLL
Msi.dll
IID
IID_IComponent is defined as 000C1097-0000-0000-C000-000000000046

See also

Using the Automation Interface

Windows Installer Scripting Examples