WiX Database XML Schema

Element: FeatureRef

Description

Create a reference to a Feature element in another Fragment.

Derived By

Restricting anyType

Attributes

Name  Type  Required?  Default  Description 
Id  string  Yes    The identifier of the Feature element to reference.
IgnoreParent  YesNoType  No    Normally feature references that are nested under a parent element create a connection to that parent.

Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Description 
    0..*   
any    1..1  Allow any element from the ##other namespace.
Component  anyType (restriction)  1..1  Component for parent Directory
ComponentGroupRef  anyType (restriction)  1..1  Create a reference to a ComponentGroup in another Fragment.
ComponentRef  anyType (restriction)  1..1  Create a reference to a Feature element in another Fragment.
Feature  anyType (restriction)  1..1  A feature for the Feature table.
FeatureGroup  anyType (restriction)  1..1  Groups together multiple components, features, and merges to be used in other locations.
FeatureGroupRef  anyType (restriction)  1..1  Create a reference to a FeatureGroup in another Fragment.
FeatureRef  anyType (restriction)  1..1  Create a reference to a Feature element in another Fragment.
MergeRef  anyType (restriction)  1..1  Merge reference to connect a Merge Module to parent Feature

Referenced By

Definition

<xs:element name="FeatureRef">
<xs:annotation>
<xs:documentation>Create a reference to a Feature element in another Fragment.</xs:documentation>
<xs:appinfo>
<xse:seeAlso ref="Feature" xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension" />
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="Component" />
<xs:element ref="ComponentGroupRef" />
<xs:element ref="ComponentRef" />
<xs:element ref="Feature" />
<xs:element ref="FeatureRef" />
<xs:element ref="FeatureGroup" />
<xs:element ref="FeatureGroupRef" />
<xs:element ref="MergeRef" />
<xs:any namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
elements at this point in the schema.
</xs:documentation>
</xs:annotation>
</xs:any>
</xs:choice>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The identifier of the Feature element to reference.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IgnoreParent" type="YesNoType">
<xs:annotation>
<xs:documentation>
Normally feature references that are nested under a parent element create a connection to that
parent. This behavior is undesirable when trying to simply reference a Feature in a different
Fragment. Specify 'yes' to have this feature reference not create a connection to its parent.
The default is 'no'.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" processContents="lax">
<xs:annotation>
<xs:documentation>
Extensibility point in the WiX XML Schema. Schema extensions can register additional
attributes at this point in the schema.
</xs:documentation>
</xs:annotation>
</xs:anyAttribute>
</xs:complexType>
</xs:element>