📄 wix.xsd
字号:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:dx="http://tempuri.org/2003/01/dx"
targetNamespace="http://schemas.microsoft.com/wix/2003/01/wi"
xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<xs:annotation>
<xs:documentation>
Copyright (c) Microsoft Corporation. All rights reserved.
The use and distribution terms for this software are covered by the
Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
which can be found in the file CPL.TXT at the root of this distribution.
By using this software in any fashion, you are agreeing to be bound by
the terms of this license.
You must not remove this notice, or any other, from this software.
Schema for describing Windows Installer database files (.msi/.msm/.pcp).
</xs:documentation>
</xs:annotation>
<xs:element name="Wix">
<xs:annotation><xs:documentation>
This is the top-level container element for every wxs file. Amongst the possible children,
the Product, Module, and PatchCreation elements are analogous to the main function in a C program.
There can only be one of these present when linking occurs. Product compiles into an msi file,
Module compiles into an msm file, PatchCreation compiles into a pcp file. The Fragment element
is an atomic unit which ultimately links into either a Product, Module, or PatchCreation. The
Fragment can either be completely included or excluded during linking.
</xs:documentation></xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="1">
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element ref="Product"/>
<xs:element ref="Module"/>
</xs:choice>
<xs:element ref="Fragment" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:element ref="PatchCreation"/>
</xs:choice>
<xs:attribute name="RequiredVersion" type="xs:string">
<xs:annotation>
<xs:documentation>Required version of the WiX toolset to compile this input file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Product">
<xs:annotation><xs:documentation>
The Product element is analogous to the main function in a C program. When linking, only one Product section
can be given to the linker to produce a successful result. Using this element creates an msi file.
</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="Package" minOccurs="1" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="AppId"/>
<xs:element ref="Binary"/>
<xs:element ref="ComplianceCheck"/>
<xs:element ref="Condition"/>
<xs:element ref="CustomAction"/>
<xs:element ref="CustomTable"/>
<xs:element ref="Directory"/>
<xs:element ref="DirectoryRef"/>
<xs:element ref="EnsureTable"/>
<xs:element ref="Feature"/>
<xs:element ref="FeatureRef"/>
<xs:element ref="FragmentRef"/>
<xs:element ref="Group"/>
<xs:element ref="Icon"/>
<xs:element ref="Media"/>
<xs:element ref="Property"/>
<xs:element ref="PropertyRef"/>
<xs:element ref="SFPCatalog"/>
<xs:element ref="SqlDatabase"/>
<xs:element ref="Upgrade"/>
<xs:element ref="UI"/>
<xs:element ref="User"/>
<xs:element ref="WebApplication"/>
<xs:element ref="WebAppPool"/>
<xs:element ref="WebDirProperties"/>
<xs:element ref="WebLog"/>
<xs:element ref="WebSite"/>
<xs:sequence>
<xs:element ref="InstallExecuteSequence" minOccurs="0"/>
<xs:element ref="InstallUISequence" minOccurs="0"/>
<xs:element ref="AdminExecuteSequence" minOccurs="0"/>
<xs:element ref="AdminUISequence" minOccurs="0"/>
<xs:element ref="AdvertiseExecuteSequence" minOccurs="0"/>
</xs:sequence>
<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:sequence>
<xs:attribute name="Id" type="autogenuuid" use="required">
<xs:annotation>
<xs:documentation>The product code GUID for the product.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Codepage" type="xs:integer">
<xs:annotation>
<xs:documentation>The codepage for the resulting MSI.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Language" type="LocalizableInteger" use="required">
<xs:annotation>
<xs:documentation>The decimal language ID (LCID) for the product.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Manufacturer" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The manufacturer of the product.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The descriptive name of the product.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UpgradeCode" type="uuid">
<xs:annotation>
<xs:documentation>The upgrade code GUID for the product.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Version" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The product's version string.</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>
<xs:element name="Module">
<xs:annotation><xs:documentation>
The Module element is analogous to the main function in a C program. When linking, only
one Module section can be given to the linker to produce a successful result. Using this
element creates an msm file.
</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="Package" minOccurs="1"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="AppId"/>
<xs:element ref="Binary"/>
<xs:element ref="ComponentRef"/>
<xs:element ref="Configuration"/>
<xs:element ref="CustomAction"/>
<xs:element ref="CustomTable"/>
<xs:element ref="Dependency"/>
<xs:element ref="Directory"/>
<xs:element ref="DirectoryRef"/>
<xs:element ref="EnsureTable"/>
<xs:element ref="Exclusion"/>
<xs:element ref="FragmentRef"/>
<xs:element ref="Group"/>
<xs:element ref="Icon"/>
<xs:element ref="IgnoreModularization"/>
<xs:element ref="Property"/>
<xs:element ref="PropertyRef"/>
<xs:element ref="SFPCatalog"/>
<xs:element ref="SqlDatabase"/>
<xs:element ref="Substitution"/>
<xs:element ref="UI"/>
<xs:element ref="User"/>
<xs:element ref="WebApplication"/>
<xs:element ref="WebAppPool"/>
<xs:element ref="WebDirProperties"/>
<xs:element ref="WebLog"/>
<xs:element ref="WebSite"/>
<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:sequence>
<xs:element ref="InstallExecuteSequence" minOccurs="0"/>
<xs:element ref="InstallUISequence" minOccurs="0"/>
<xs:element ref="AdminExecuteSequence" minOccurs="0"/>
<xs:element ref="AdminUISequence" minOccurs="0"/>
<xs:element ref="AdvertiseExecuteSequence" minOccurs="0"/>
</xs:sequence>
</xs:choice>
</xs:sequence>
<xs:attribute name="Id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the merge module (not the file name).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Codepage" type="xs:integer">
<xs:annotation>
<xs:documentation>The codepage of the merge module.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Guid" type="uuid" use="required">
<xs:annotation>
<xs:documentation>The product code GUID of the merge module.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Language" type="LocalizableInteger" use="required">
<xs:annotation>
<xs:documentation>The decimal language ID (LCID) of the merge module.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Version" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The product version string of the merge module.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Dependency">
<xs:annotation>
<xs:documentation>Declares a dependency on another merge module.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="RequiredId" type="xs:string" use="required">
<xs:annotation><xs:documentation>Identifier of the merge module required by the merge module.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="RequiredLanguage" type="xs:integer" use="required">
<xs:annotation><xs:documentation>Numeric language ID of the merge module in RequiredID.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="RequiredVersion" type="xs:string">
<xs:annotation><xs:documentation>Version of the merge module in RequiredID.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Exclusion">
<xs:annotation>
<xs:documentation>Declares a merge module with which this merge module is incompatible.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ExcludedId" type="xs:string" use="required">
<xs:annotation><xs:documentation>Identifier of the merge module that is incompatible.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ExcludeExceptLanguage" type="xs:integer">
<xs:annotation><xs:documentation>Numeric language ID of the merge module in ExcludedID. All except this language will be excluded. Only one of ExcludeExceptLanguage and ExcludeLanguage may be specified.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ExcludeLanguage" type="xs:integer">
<xs:annotation><xs:documentation>Numeric language ID of the merge module in ExcludedID. The specified language will be excluded. Only one of ExcludeExceptLanguage and ExcludeLanguage may be specified.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ExcludedMinVersion" type="xs:string">
<xs:annotation><xs:documentation>Minimum version excluded from a range. If not set, all versions before max are excluded. If neither max nor min, no exclusion based on version.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ExcludedMaxVersion" type="xs:string">
<xs:annotation><xs:documentation>Maximum version excluded from a range. If not set, all versions after min are excluded. If neither max nor min, no exclusion based on version.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Configuration">
<xs:annotation>
<xs:documentation>Defines the configurable attributes of merge module.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Name" type="xs:string" use="required">
<xs:annotation><xs:documentation>Defines the name of the configurable item.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Format" use="required">
<xs:annotation><xs:documentation>Specifies the format of the data being changed.</xs:documentation></xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Text"/>
<xs:enumeration value="Key"/>
<xs:enumeration value="Integer"/>
<xs:enumeration value="Bitfield"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" type="xs:string">
<xs:annotation><xs:documentation>Specifies the type of the data being changed.</xs:documentation></xs:annotation>
</xs:attribute>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -