⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wix.xsd

📁 c#源代码
💻 XSD
📖 第 1 页 / 共 5 页
字号:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
          xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
         xmlns:html="http://www.w3.org/1999/xhtml"
    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="VersionType">
				<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="Include">
		<xs:annotation><xs:documentation>
			This is the top-level container element for every wxi file.
		</xs:documentation></xs:annotation>
		<xs:complexType>
			<xs:choice minOccurs="0" maxOccurs="unbounded">
				<xs:element ref="AppId"/>
				<xs:element ref="Binary"/>
				<xs:element ref="Category"/>
				<xs:element ref="Class"/>
				<xs:element ref="ComplianceCheck"/>
				<xs:element ref="Condition"/>
				<xs:element ref="CopyFile"/>
				<xs:element ref="CreateFolder"/>
				<xs:element ref="CustomAction"/>
				<xs:element ref="CustomTable"/>
				<xs:element ref="Directory"/>
				<xs:element ref="DirectoryRef"/>
				<xs:element ref="EnsureTable"/>
				<xs:element ref="Environment"/>
				<xs:element ref="Extension"/>
				<xs:element ref="Feature"/>
				<xs:element ref="FeatureRef"/>
				<xs:element ref="File"/>
				<xs:element ref="IniFile"/>
				<xs:element ref="Interface"/>
				<xs:element ref="IsolateComponent"/>
				<xs:element ref="FragmentRef"/>
				<xs:element ref="Group"/>
				<xs:element ref="Icon"/>
				<xs:element ref="Media"/>
				<xs:element ref="ODBCDataSource"/>
				<xs:element ref="ODBCDriver"/>
				<xs:element ref="ODBCTranslator"/>
				<xs:element ref="ProgId"/>
				<xs:element ref="Property"/>
				<xs:element ref="PropertyRef"/>
				<xs:element ref="Registry"/>
				<xs:element ref="RemoveFile"/>
				<xs:element ref="RemoveFolder"/>
				<xs:element ref="ReserveCost"/>
				<xs:element ref="ServiceControl"/>
				<xs:element ref="ServiceInstall"/>
				<xs:element ref="SFPCatalog"/>
				<xs:element ref="Shortcut"/>
				<xs:element ref="SqlDatabase"/>
				<xs:element ref="TypeLib"/>
				<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"/>
				<!-- server elements -->
				<xs:element ref="Certificate"/>
				<xs:element ref="FileShare"/>
				<xs:element ref="ServiceConfig"/>
				<xs:element ref="SqlScript"/>
				<xs:element ref="SqlString"/>
				<xs:element ref="WebDir"/>
				<xs:element ref="WebFilter"/>
				<xs:element ref="WebProperty"/>
				<xs:element ref="WebServiceExtension"/>
				<xs:element ref="WebVirtualDir"/>
				<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: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="ComponentGroupRef"/>
					<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: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="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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -