WiX Database XML Schema

Element: Feature

Description

A feature for the Feature table.

Derived By

Restricting anyType

Attributes

Name  Type  Description 
Id  string  Unique identifier of the feature.
Absent  NMTOKEN (restriction)  This attribute determines if a user will have the option to set a feature to absent in the user interface.
AllowAdvertise  NMTOKEN (restriction)  This attribute determins the possible advertise states for this feature.
ConfigurableDirectory  string  Specify the Id of a Directory that can be configured by the user at installation time.
Description  string  Longer string of text describing the feature.
Display  string  Determines the initial display of this feature in the feature tree.

InstallDefault  NMTOKEN (restriction)  This attribute determines the default install/run location of a feature.
Level  integer  Sets the install level of this feature.
Title  string  Short string of text identifying the feature.
TypicalDefault  NMTOKEN (restriction)  This attribute determines the default advertise state of the feature.

Content Model

Contains elements as defined in the following table.

Component  Type  Description 
any    Allow any element from the ##other namespace.
Component  anyType (restriction)  Component for parent Directory
ComponentGroupRef  anyType (restriction)  Create a reference to a ComponentGroup in another Fragment.
ComponentRef  anyType (restriction)  Create a reference to a Feature element in another Fragment.
Condition  string (extension)  Conditions for components, controls, features, and products.
Feature  anyType (restriction)  A feature for the Feature table.
FeatureGroupRef  anyType (restriction)  Create a reference to a FeatureGroup in another Fragment.
FeatureRef  anyType (restriction)  Create a reference to a Feature element in another Fragment.
MergeRef  anyType (restriction)  Merge reference to connect a Merge Module to parent Feature

Remarks

Features are the smallest installable unit. See msi.chm for more detailed information on the myriad installation options for a feature.