📄 wix.xsd
字号:
</xs:attribute>
<xs:attribute name="ShortNames" type="YesNoType">
<xs:annotation>
<xs:documentation>Short filenames on source</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Compressed" type="YesNoType">
<xs:annotation>
<xs:documentation>Compressed files on source</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="AdminImage" type="YesNoType">
<xs:annotation>
<xs:documentation>Source is an admin image</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="PatchMetadata">
<xs:annotation>
<xs:documentation>Properties about the patch to be placed in the PatchMetadata table.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element ref="CustomProperty" minOccurs="0">
<xs:annotation><xs:documentation>A custom property that extends the standard set.</xs:documentation></xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="AllowRemoval" type="YesNoType" use="required">
<xs:annotation>
<xs:documentation>Whether this is an uninstallable patch.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Classification" use="required">
<xs:annotation>
<xs:documentation>Category of updates.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Critical Update"/>
<xs:enumeration value="Hotfix"/>
<xs:enumeration value="Security Rollup"/>
<xs:enumeration value="Service Pack"/>
<xs:enumeration value="Update"/>
<xs:enumeration value="Update Rollup"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="CreationTimeUTC" type="xs:string">
<xs:annotation>
<xs:documentation>Creation time of the .msp file in the form mm:dd:yy:HH:MM (month: day : year : hour : minute).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Description" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Description of the patch.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DisplayName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>A title for the patch that is suitable for public display. In Add/Remove Programs from XP SP2 on.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ManufacturerName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the manufacturer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="MinorUpdateTargetRTM" type="xs:string">
<xs:annotation><xs:documentation>
Indicates that the patch targets the RTM version of the product or the most recent major
upgrade patch. Author this optional property in minor update patches that contain sequencing
information to indicate that the patch removes all patches up to the RTM version of the
product, or up to the most recent major upgrade patch. This property is available beginning
with Windows Installer 3.1.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="MoreInfoURL" type="xs:string">
<xs:annotation>
<xs:documentation>A URL that provides information specific to this patch. In Add/Remove Programs from XP SP2 on.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="OptimizedInstallMode" type="YesNoType">
<xs:annotation><xs:documentation>
If this attribute is set to 'yes' in all the patches to be applied in a transaction, the
application of the patch is optimized if possible. Available beginning with Windows Installer 3.1.
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="TargetProductName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the application or target product suite.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="CustomProperty">
<xs:annotation><xs:documentation>A custom property for the PatchMetadata table.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:attribute name="Company" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the company.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Property" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the metadata property.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Value" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Value of the metadata property.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ReplacePatch">
<xs:annotation><xs:documentation>A patch that is deprecated by this patch.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:attribute name="Id" type="uuid" use="required">
<xs:annotation>
<xs:documentation>Patch GUID to be unregistered if it exists on the machine targeted by this patch.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="TargetProductCode">
<xs:annotation><xs:documentation>A product code for a product that may receive this patch. (Or '*' for all products.)</xs:documentation></xs:annotation>
<xs:complexType>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Product code for a product that can receive this patch.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="PatchProperty">
<xs:annotation><xs:documentation>A property for this patch database.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the patch creation property.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Value" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Value of the patch creation property.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="PatchSequence">
<xs:annotation><xs:documentation>Sequence information for this patch database. Sequence information is generated automatically in most cases, and rarely needs to be set explicitly.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:attribute name="PatchFamily" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Identifier which indicates one of the sequence families to which this patch belongs.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Target" type="xs:string">
<xs:annotation>
<xs:documentation>Used to determine the product code filtering for the patch family.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Sequence" type="xs:string">
<xs:annotation>
<xs:documentation>Used to populate the sequence column of the MsiPatchSequence table in the final MSP file. Specified in x.x.x.x format. See documentation for Sequence column of MsiPatchSequence table in MSI SDK.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Supersede" type="xs:integer">
<xs:annotation>
<xs:documentation>Non-NULL value indicates that this patch supersedes earlier patches in this family. See documentation for Attributes column of MsiPatchSequence table in MSI SDK.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Family">
<xs:annotation><xs:documentation>Group of one or more upgraded images of a product.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="UpgradeImage" minOccurs="1" maxOccurs="unbounded"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ExternalFile"/>
<xs:element ref="ProtectFile"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="DiskId" type="xs:int">
<xs:annotation><xs:documentation>Entered into the DiskId field of the new Media table record.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="DiskPrompt" type="xs:string">
<xs:annotation><xs:documentation>Value to display in the "[1]" of the DiskPrompt Property. Using this attribute will require you to define a DiskPrompt Property.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="MediaSrcProp" type="xs:string">
<xs:annotation><xs:documentation>Entered into the Source field of the new Media table entry of the upgraded image.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation><xs:documentation>Identifier for the family.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="SequenceStart" type="xs:int">
<xs:annotation><xs:documentation>Sequence number for the starting file.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="VolumeLabel" type="xs:string">
<xs:annotation><xs:documentation>Entered into the VolumeLabel field of the new Media table record.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="UpgradeImage">
<xs:annotation><xs:documentation>Contains information about the upgraded images of the product.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="TargetImage" minOccurs="1" maxOccurs="unbounded"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="SymbolPath"/>
<xs:element ref="UpgradeFile"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation><xs:documentation>Identifier to connect target images with upgraded image.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="src" type="xs:string" use="required">
<xs:annotation><xs:documentation>Full path to location of msi file for upgraded image.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="srcPatch" type="xs:string">
<xs:annotation><xs:documentation>Modified copy of the upgraded installation database that contains additional authoring specific to patching.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="TargetImage">
<xs:annotation><xs:documentation>Contains information about the target images of the product.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="SymbolPath"/>
<xs:element ref="TargetFile"/>
</xs:choice>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation><xs:documentation>Identifier for the target image.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="src" type="xs:string" use="required">
<xs:annotation><xs:documentation>Full path to the location of the msi file for the target image.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Order" type="xs:int" use="required">
<xs:annotation><xs:documentation>Relative order of the target image.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Validation" type="xs:string">
<xs:annotation><xs:documentation>Product checking to avoid applying irrelevant transforms.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="IgnoreMissingFiles" type="YesNoType">
<xs:annotation><xs:documentation>Files missing from the target image are ignored by the installer.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="TargetFile">
<xs:annotation><xs:documentation>Information about specific files in a target image.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="SymbolPath" minOccurs="0" maxOccurs="1"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="IgnoreRange"/>
<xs:element ref="ProtectRange"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation><xs:documentation>Foreign key into the File table.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="IgnoreRange">
<xs:annotation><xs:documentation>Specifies part of a file that is to be ignored during patching.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:attribute name="Offset" type="xs:int" use="required">
<xs:annotation><xs:documentation>Offset of the start of the range.</xs:documentation></xs:annotation>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -