WiX Database XML Schema

Element: Upgrade

Description

Upgrade info for a particular UpgradeCode

Derived By

Restricting anyType

Attributes

Name  Type  Required?  Default  Description 
Id  Guid  Yes    This value specifies the upgrade code for the products that are to be detected by the FindRelatedProducts action.

Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Description 
    0..*   
Property  anyType (restriction)  1..1  Property value for a Product or Module.
UpgradeVersion  string (extension)  1..1   

Referenced By

Definition

<xs:element name="Upgrade">
<xs:annotation>
<xs:documentation>
Upgrade info for a particular UpgradeCode
</xs:documentation>
<xs:appinfo>
<xse:msiRef table="Upgrade" href="http://msdn.microsoft.com/library/aa372379.aspx" xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension" />
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="UpgradeVersion" />
<xs:element ref="Property">
<xs:annotation>
<xs:documentation>
Nesting a Property element under an Upgrade element has been deprecated.
Please nest Property elements in any of the other supported locations.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="Id" type="Guid" use="required">
<xs:annotation>
<xs:documentation>This value specifies the upgrade code for the products that are to be detected by the FindRelatedProducts action.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>