WiX Database XML Schema

Element: FileTypeMask

Description

FileType data for class Id registration.

Derived By

Restricting anyType

Attributes

Name  Type  Required?  Default  Description 
Offset  integer  Yes    Offset into file. If positive, offset is from the beginning; if negative, offset is from the end.
Mask  HexType  Yes    Hex value that is AND'd against the bytes in the file at Offset.
Value  HexType  Yes    If the result of the AND'ing of Mask with the bytes in the file is Value, the file is a match for this File Type.

Content Model

Always empty.

Referenced By

Definition

<xs:element name="FileTypeMask">
<xs:annotation>
<xs:documentation>FileType data for class Id registration.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Offset" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation>Offset into file. If positive, offset is from the beginning; if negative, offset is from the end.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Mask" type="HexType" use="required">
<xs:annotation>
<xs:documentation>Hex value that is AND'd against the bytes in the file at Offset.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Value" type="HexType" use="required">
<xs:annotation>
<xs:documentation>If the result of the AND'ing of Mask with the bytes in the file is Value, the file is a match for this File Type.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>