Component Object

Windows Installer

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.

Methods

The Component object does not define any methods.

Properties

The Component object defines the following properties.

Property Access type Description

ComponentCode

Read-only

The component code of the component in question.

Context

Read-only

The context that was determined to be applicable to the component in question.

UserSID

Read-only

The user SID for the enumerated component.

 

Requirements

VersionWindows Installer 5.0 or later.
DLLMsi.dll
IIDIID_IComponent is defined as 000C1097-0000-0000-C000-000000000046

See Also

Using the Automation Interface
Windows Installer Scripting Examples

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.