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

📄 wix.xsd

📁 c#源代码
💻 XSD
📖 第 1 页 / 共 5 页
字号:
				Adds or removes .ini file entries
			</xs:documentation>
			<xs:appinfo>
				<xse:msiRef table="IniFile" />
			</xs:appinfo>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="Id" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Identifier for ini file.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Action" use="required">
				<xs:annotation><xs:documentation>The type of modification to be made.</xs:documentation></xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:NMTOKEN">
						<xs:enumeration value="addLine">
							<xs:annotation><xs:documentation>Creates or updates a .ini entry.</xs:documentation></xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="addTag">
							<xs:annotation><xs:documentation>Creates a new entry or appends a new comma-separated value to an existing entry.</xs:documentation></xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="createLine">
							<xs:annotation><xs:documentation>Creates a .ini entry only if the entry does no already exist.</xs:documentation></xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="removeLine">
							<xs:annotation><xs:documentation>Deletes a .ini entry.</xs:documentation></xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="removeTag">
							<xs:annotation><xs:documentation>Deletes a tag from a .ini entry.</xs:documentation></xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="Directory" type="xs:string">
				<xs:annotation><xs:documentation>Name of a property, the value of which is the full path of the folder containing the .ini file. Can be name of a directory in the Directory table, a property set by the AppSearch table, or any other property representing a full path.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Key" use="required" type="xs:string">
				<xs:annotation><xs:documentation>The localizable .ini file key within the section.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="LongName" type="LongFileNameType">
				<xs:annotation><xs:documentation>Long file name; set this attribute if preferred name is not in 8.3 format.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Name" type="ShortFileNameType" use="required">
				<xs:annotation><xs:documentation>File name of the file in 8.3 format, required for backwards compatibility.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Section" use="required" type="xs:string">
				<xs:annotation><xs:documentation>The localizable .ini file section.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Value" type="xs:string">
				<xs:annotation><xs:documentation>The localizable value to be written.</xs:documentation></xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

	<xs:element name="ODBCDataSource">
		<xs:annotation>
			<xs:documentation>
				ODBCDataSource for a Component
			</xs:documentation>
			<xs:appinfo>
				<xse:msiRef table="ODBCDataSource" />
			</xs:appinfo>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Property" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation><xs:documentation>Translates into ODBCSourceAttributes</xs:documentation></xs:annotation>
				</xs:element>
			</xs:sequence>

			<xs:attribute name="Id" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Identifier of the data source.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Name" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Name for the data source.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="DriverName" type="xs:string">
				<xs:annotation><xs:documentation>Required if not found as child of ODBCDriver element</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Registration" use="required">
				<xs:annotation><xs:documentation>Scope for which the data source should be registered.</xs:documentation></xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:NMTOKEN">
						<xs:enumeration value="machine"/>
						<xs:enumeration value="user"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="KeyPath" type="YesNoType">
				<xs:annotation><xs:documentation>Set 'yes' to force this file to be key path for parent Component</xs:documentation></xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

	<xs:element name="ODBCDriver">
		<xs:annotation>
			<xs:documentation>
				ODBCDriver for a Component
			</xs:documentation>
			<xs:appinfo>
				<xse:msiRef table="ODBCDriver" />
			</xs:appinfo>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Property" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation><xs:documentation>Translates into ODBCSourceAttributes</xs:documentation></xs:annotation>
				</xs:element>
				<xs:element ref="ODBCDataSource" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>

			<xs:attribute name="Id" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Identifier for the driver.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Name" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Name for the driver.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="File" type="xs:string">
				<xs:annotation><xs:documentation>Required if not found as child of File element</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="SetupFile" type="xs:string">
				<xs:annotation><xs:documentation>Required if not found as child of File element or different from File attribute above</xs:documentation></xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

	<xs:element name="ODBCTranslator">
		<xs:annotation>
			<xs:documentation>
				ODBCTranslator for a Component
			</xs:documentation>
			<xs:appinfo>
				<xse:msiRef table="ODBCTranslator" />
			</xs:appinfo>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="Id" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Identifier for the translator.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Name" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Name for the translator.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="File" type="xs:string">
				<xs:annotation><xs:documentation>Required if not found as child of File element</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="SetupFile" type="xs:string">
				<xs:annotation><xs:documentation>Required if not found as child of File element or different from File attribute above</xs:documentation></xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

	<xs:element name="FileSearch">
		<xs:annotation>
			<xs:appinfo>
				<xse:seeAlso ref="ComponentSearch"/>
				<xse:seeAlso ref="DirectorySearch"/>
				<xse:seeAlso ref="DirectorySearchRef"/>
				<xse:seeAlso ref="FileSearchRef"/>
				<xse:seeAlso ref="IniFileSearch"/>
				<xse:seeAlso ref="RegistrySearch"/>
				<xse:msiRef table="DrLocator" />
				<xse:msiRef table="Signature" />
			</xs:appinfo>
			<xs:documentation>Searches for file and assigns to fullpath value of parent Property</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="Id" type="xs:string">
				<xs:annotation><xs:documentation>Specify the Id when you want to find the path to a file.  Leave the Id absent if you want to find the parent directory of a file.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Name" type="ShortFileNameType">
				<xs:annotation><xs:documentation>
					File name of the file in 8.3 format.  Please note that due to a Windows Installer bug,
					this attribute is not required if the preferred file name is not in 8.3 format.  This
					attribute should only be set if the file to find is in 8.3 format.  Either this attribute
					or the LongName is required.
				</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="LongName" type="LongFileNameType">
				<xs:annotation><xs:documentation>
					Long file name; set this attribute if preferred name is not in 8.3 format.
					Either this attribute or the Name attribute is required.
					When using only the LongName attribute, ICE03 should be ignored for the Signature table's FileName column.
				</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="MinSize" type="xs:int">
				<xs:annotation><xs:documentation>The minimum size of the file.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="MaxSize" type="xs:int">
				<xs:annotation><xs:documentation>The maximum size of the file.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="MinVersion" type="xs:string">
				<xs:annotation><xs:documentation>The minimum version of the file.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="MaxVersion" type="xs:string">
				<xs:annotation><xs:documentation>The maximum version of the file.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="MinDate" type="xs:dateTime">
				<xs:annotation><xs:documentation>The minimum modification date and time of the file. Formatted as YYYY-MM-DDTHH:mm:ss, where YYYY is the year, MM is month, DD is day, 'T' is literal, HH is hour, mm is minute and ss is second.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="MaxDate" type="xs:dateTime">
				<xs:annotation><xs:documentation>The maximum modification date and time of the file. Formatted as YYYY-MM-DDTHH:mm:ss, where YYYY is the year, MM is month, DD is day, 'T' is literal, HH is hour, mm is minute and ss is second.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Languages" type="xs:string">
				<xs:annotation><xs:documentation>The languages supported by the file.</xs:documentation></xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

	<xs:element name="FileSearchRef">
		<xs:annotation>
			<xs:appinfo>
				<xse:seeAlso ref="FileSearch"/>
			</xs:appinfo>
			<xs:documentation>References an existing FileSearch element.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="Id" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Specify the Id to the FileSearch to reference.</xs:documentation></xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

	<xs:element name="DirectorySearch">
		<xs:annotation>
			<xs:appinfo>
				<xse:seeAlso ref="ComponentSearch"/>
				<xse:seeAlso ref="IniFileSearch"/>
				<xse:seeAlso ref="RegistrySearch"/>
				<xse:msiRef table="DrLocator" />
				<xse:msiRef table="Signature" />
			</xs:appinfo>
			<xs:documentation>Searches for directory and assigns to value of parent Property.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice minOccurs="0">
				<xs:element ref="DirectorySearch"/>
				<xs:element ref="DirectorySearchRef"/>
				<xs:element ref="FileSearch"/>
				<xs:element ref="FileSearchRef"/>
			</xs:choice>

			<xs:attribute name="Id" use="required" type="xs:string">
				<xs:annotation><xs:documentation>External key into Signature table. If not in Signature table, search is for a directory defined with DirectorySearch elements.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Path" type="xs:string">
				<xs:annotation><xs:documentation>Path on the user's system. Either absolute, or relative to containing directories.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Depth" type="xs:integer">
				<xs:annotation><xs:documentation>Depth below the path that the installer searches for the file or directory specified by the search.</xs:documentation></xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

	<xs:element name="DirectorySearchRef">
		<xs:annotation>
			<xs:appinfo>
				<xse:seeAlso ref="ComponentSearch"/>
				<xse:seeAlso ref="IniFileSearch"/>
				<xse:seeAlso ref="RegistrySearch"/>
			</xs:appinfo>
			<xs:documentation>References an existing DirectorySearch element.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice minOccurs="0">
				<xs:element ref="DirectorySearch"/>
				<xs:element ref="DirectorySearchRef"/>
				<xs:element ref="FileSearch"/>
				<xs:element ref="FileSearchRef"/>
			</xs:choice>

			<xs:attribute name="Id" use="required" type="xs:string">
				<xs:annotation><xs:documentation>Id of the search being referred to.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Parent" type="xs:string">
				<xs:annotation><xs:documentation>This attribute is the signature of the parent directory of the file or directory in the Signature_ column. If this field is null, and the Path column does not expand to a full path, then all the fixed drives of the user's system are searched by using the Path.  This field is a key into one of the following tables: the RegLocator, the IniLocator, the CompLocator, or the DrLocator tables.</xs:documentation></xs:annotation>
			</xs:attribute>
			<xs:attribute name="Path" type="xs:string">
				<xs:annotation><xs:documentation>Path on the user's system. Either absolute, or relative to containing directories.</xs:documentation></xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

	<xs:element name="ComponentSearch">
		<xs:annotation>
			<xs:appinfo>
				<xse:seeAlso ref="IniFileSearch"/>

⌨️ 快捷键说明

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