IFeature 

Declaration

IFeature : IDispatch
Overview

This interface is meant to change properties of a feature.
Properties

String Id
Gets or sets the id.
Array<IFeature> Components
Gets the collection of
components.
String Title
Gets or sets the title.
String Description
Gets or sets the description.
IFeature Parent
Gets or sets the feature parent. The parent
feature can be null.
IDirectory Directory
Gets or sets the directory where the feature
will install.
String Icon
Gets or sets the path on the disk to an icon.
String InstallationBehavior
Gets or sets the installation
behavior. Allowed values: Installed, NotInstalled, Disabled.
String InstalledCondition
Gets or sets the condition that
specifies if the feature will be installed on both Typical and Complete
installations.
String NotInstalledCondition
Gets or sets the condition that
specifies if a feature will not be installed on a Typical installation.
String InstalledCondition
Gets or sets the condition that
specifies if the feature will be disabled.
String InstallationSettings
Gets or sets the installation
settings. Allowed values: InstallLocally, RunFromInstallationSource,
UseParentSettings.
String AlwaysInstall
Gets or sets the option of the User
Interface of Windows Installer to hide the option to change the feature's state.
String AllowAdvertise
Gets or sets the option that specifies
this feature can be installed as advertised, but this is not the default installation
option.
String AdvertiseByDefault
Gets or sets the option to install
the feature by default as advertised.
String DisableAdvertiseIfNotSupported
Gets or sets the option to
disable advertise if the target system doesn't support it Advertising for this feature is
disabled if the shell does not support the Windows Installer descriptors.
Builds SAFEARRAY(Variant)
Retrieves the list of builds linked to
this feature. Returns an empty list if the IncludeInAllBuilds() method has been
used.
Methods

IncludeInAllBuilds()
Marks the feature as included in all
builds. Note: when this is enabled, the Builds property will return an empty list.
AddBuild(IBuild aBuild)
Adds the specified build to the
collection.
RemoveBuild(IBuild aBuild)
Removes the specified build from the
collection.