IComponent
Declaration
IComponent: IDispatch
Overview
This interface is meant to change properties of a
component.
Properties
String Id
Gets or sets the id.
String GUID
Gets or sets the
GUID.
Bool
SuppressWindowsInstallerRegistration
Gets or sets the
property of the component to be registered with Windows Installer. The
component will have an empty GUID, and thus it will not be registered.
This means that the component cannot be removed, repaired or patched by
the installer.
IDirectory Directory
Gets or sets the
directory where the component will be installed.
String Condition Gets or sets the Windows Installer condition which is evaluated.The result determines the component's installation.
Bool RunFromSourceOnly
Gets or sets option
that allows the component to be run only from the source.
Bool Optional
Gets or sets an option that
allows the component to be run locally.
Bool SharedDllReferenceCount
Gets or sets an
option that allows Windows Installer to increment the reference count in
the shared DLL registry of the component's key file.
Bool Permanent
Gets or sets an option that
specifies the component will not be removed during uninstall.
Bool Transitive
Gets or sets an option that
allows Windows Installer to re-evaluate the statement from the “Condition”
field after a reinstall.
Bool NeverOverwrite
Gets or sets an option
that specifies the component is not installed or reinstalled if a key path
file or a key path registry entry for the component already exists. This
affects only future installers which try to overwrite the component key
path; it doesn't affect already installed resources.
Bool Is64Bit
Gets or sets an option that
specifies if the component is 64 bit.
Bool DisableRegistryReflection
Gets or sets
option that applies only to 64-bit systems with Windows Installer 4.0. If
this option is not enabled for a component, Windows Installer makes the
associated registry changes in both 64 and 32-bit registry
views.
Bool UninstallOnSupersedence
Gets or sets an
option that specifies uninstall mode of a superseding patch. Installation
of a superseding patch can leave behind an unused component on the
computer. To avoid this behavior, you can set this property to true. The
same effect can be obtained for all components by setting the
MSIUNINSTALLSUPERSEDEDCOMPONENTS property to "1".
Bool UninstallOnSupersedence
Gets or sets an
option that specifies uninstall mode of a superseding patch. Installation
of a superseding patch can leave behind an unused component on the
computer. To avoid this behavior, you can set this property to true. The
same effect can be obtained for all components by setting the
MSIUNINSTALLSUPERSEDEDCOMPONENTS property to "1".
Bool SharedAmongstPackages
Gets or sets an
option that marks the component as shared among multiple packages. In
doing so, if a package containing this component is uninstalled, the
highest version of it (installed by other packages) will still be shared
by Windows Installer. It is enough to mark the component as shared in one
package for it to become shared among multiple packages. If the
DisableSharedComponent policy is set to "1", this flag is ignored for all
components.