📄 wix.xsd
字号:
<dx:seeAlso ref="IniFileSearch"/>
<dx:seeAlso ref="RegistrySearch"/>
</xs:appinfo>
<xs:documentation>Searches for file or 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:attribute name="Guid" type="uuid"/>
<xs:attribute name="Type">
<xs:annotation><xs:documentation>Must be file if last child is FileSearch element and must be directory if last child is DirectorySearch element</xs:documentation></xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="directory"/>
<xs:enumeration value="file"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="IniFileSearch">
<xs:annotation>
<xs:appinfo>
<dx:seeAlso ref="ComponentSearch"/>
<dx:seeAlso ref="RegistrySearch"/>
</xs:appinfo>
<xs:documentation>Searches for file, directory or registry key 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:attribute name="File" use="required" type="xs:string"/>
<xs:attribute name="Section" use="required" type="xs:string"/>
<xs:attribute name="Key" use="required" type="xs:string"/>
<xs:attribute name="Field" type="xs:integer"/>
<xs:attribute name="Type">
<xs:annotation><xs:documentation>Must be file if last child is FileSearch element and must be directory if last child is DirectorySearch element</xs:documentation></xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="directory"/>
<xs:enumeration value="file"/>
<xs:enumeration value="registry"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="RegistrySearch">
<xs:annotation>
<xs:appinfo>
<dx:seeAlso ref="ComponentSearch"/>
<dx:seeAlso ref="IniFileSearch"/>
</xs:appinfo>
<xs:documentation>Searches for file, directory or registry key 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:attribute name="Root" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="HKCR"/>
<xs:enumeration value="HKCU"/>
<xs:enumeration value="HKLM"/>
<xs:enumeration value="HKU"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Key" use="required" type="xs:string">
</xs:attribute>
<xs:attribute name="Name" type="xs:string">
</xs:attribute>
<xs:attribute name="Type">
<xs:annotation><xs:documentation>must be file if last child is FileSearch element and must be directory if last child is DirectorySearch element</xs:documentation></xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="directory"/>
<xs:enumeration value="file"/>
<xs:enumeration value="registry"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Win64" type="YesNoType">
<xs:annotation><xs:documentation>Instructs the search to look in the 64-bit registry when the value is 'yes'. Default is 'no' and search looks in the 32-bit registry.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="RegistrySearchRef">
<xs:annotation>
<xs:appinfo>
<dx:seeAlso ref="RegistrySearch"/>
</xs:appinfo>
<xs:documentation>References an existing RegistrySearch element.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Id" type="xs:string">
<xs:annotation><xs:documentation>Specify the Id to the RegistrySearch to reference.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="ComplianceDrive">
<xs:annotation><xs:documentation>Sets the parent of a nested DirectorySearch element to CCP_DRIVE.</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="DirectorySearch" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ComplianceCheck">
<xs:annotation>
<xs:appinfo>
<dx:seeAlso ref="Property"/>
</xs:appinfo>
<xs:documentation>Adds a row to the CCPSearch table.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ComplianceDrive" minOccurs="0">
<xs:annotation><xs:documentation>Starts searches from the CCP_DRIVE.</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="ComponentSearch" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="RegistrySearch" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="IniFileSearch" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="DirectorySearch" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="FileSearch" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Property">
<xs:annotation>
<xs:appinfo>
<dx:seeAlso ref="PropertyRef"/>
</xs:appinfo>
<xs:documentation>Property value for a Product or Module.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:annotation><xs:documentation>If Property is determined by an AppSearch</xs:documentation></xs:annotation>
<xs:element ref="ComplianceDrive" minOccurs="0">
<xs:annotation><xs:documentation>Starts searches from the CCP_DRIVE.</xs:documentation></xs:annotation>
</xs:element>
<xs:element ref="ComponentSearch" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="RegistrySearch" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="RegistrySearchRef" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="IniFileSearch" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="DirectorySearch" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="DirectorySearchRef" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="FileSearch" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Id" type="xs:string" use="required"/>
<xs:attribute name="Value" type="xs:string">
<xs:annotation><xs:documentation>Sets a default value for the property. The value will be overwritten if the Property is used for a search.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="ComplianceCheck" type="YesNoType">
<xs:annotation><xs:documentation>Adds a row to the CCPSearch table. This attribute is only valid when this Property contains a search element.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Admin" type="YesNoType"/>
<xs:attribute name="Secure" type="YesNoType"/>
<xs:attribute name="Hidden" type="YesNoType"/>
</xs:complexType>
</xs:element>
<xs:element name="PropertyRef">
<xs:annotation>
<xs:appinfo>
<dx:seeAlso ref="Property"/>
</xs:appinfo>
<xs:documentation>Reference to Property value</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Id" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Shortcut">
<xs:annotation><xs:documentation>Shortcut, default target is parent File, CreateFolder, or Component's Directory</xs:documentation></xs:annotation>
<xs:complexType>
<xs:attribute name="Id" type="xs:string" use="required"/>
<xs:attribute name="Directory" use="required" type="xs:string">
<xs:annotation><xs:documentation>Directory Id where shortcut is to be created</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Name" type="ShortFileNameType" use="required">
</xs:attribute>
<xs:attribute name="LongName" type="LongFileNameType">
<xs:annotation><xs:documentation>Required if preferred name not 8.3 format</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Target" type="xs:string">
<xs:annotation><xs:documentation>Default value taken from parent</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Description" type="xs:string"/>
<xs:attribute name="Arguments" type="xs:string"/>
<xs:attribute name="Hotkey" type="xs:integer"/>
<xs:attribute name="Icon" type="xs:string">
<xs:annotation><xs:documentation>Reference to Icon element</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="IconIndex" type="xs:integer"/>
<xs:attribute name="Show">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="normal"/>
<xs:enumeration value="minimized"/>
<xs:enumeration value="maximized"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="WorkingDirectory" type="xs:string"/>
<xs:attribute name="Advertise" type="YesNoType"/>
</xs:complexType>
</xs:element>
<xs:element name="Permission">
<xs:annotation><xs:documentation>
Sets ACLs on File, Registry, or CreateFolder. When under a Registry element, this cannot be used
if the Action attribute's value is remove or removeKeyOnInstall.
</xs:documentation></xs:annotation>
<xs:complexType>
<xs:annotation><xs:documentation>No Id attribute, table and key taken from parent element</xs:documentation></xs:annotation>
<xs:attribute name="Domain" type="xs:string">
</xs:attribute>
<xs:attribute name="User" use="required" type="xs:string">
</xs:attribute>
<!-- Common ACLs -->
<xs:attribute name="Read" type="YesNoType">
</xs:attribute>
<xs:attribute name="Delete" type="YesNoType">
</xs:attribute>
<xs:attribute name="ReadPermission" type="YesNoType">
</xs:attribute>
<xs:attribute name="ChangePermission" type="YesNoType">
</xs:attribute>
<xs:attribute name="TakeOwnership" type="YesNoType">
</xs:attribute>
<!-- Folder and File ACLs -->
<xs:attribute name="ReadAttributes" type="YesNoType">
</xs:attribute>
<xs:attribute name="WriteAttributes" type="YesNoType">
</xs:attribute>
<xs:attribute name="ReadExtendedAttributes" type="YesNoType">
</xs:attribute>
<xs:attribute name="WriteExtendedAttributes" type="YesNoType">
</xs:attribute>
<xs:attribute name="Synchronize" type="YesNoType">
</xs:attribute>
<!-- Folder only ACLs -->
<xs:attribute name="CreateFile" type="YesNoType">
<xs:annotation><xs:documentation>For a directory, the right to create a file in the directory. Only valid under a 'CreateFolder' parent.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="CreateChild" type="YesNoType">
<xs:annotation><xs:documentation>For a directory, the right to create a subdirectory. Only valid under a 'CreateFolder' parent.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="DeleteChild" type="YesNoType">
<xs:annotation><xs:documentation>For a directory, the right to delete a directory and all the files it contains, including read-only files. Only valid under a 'CreateFolder' parent.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name="Traverse" type="YesNoType">
<xs:annotation><xs:documentation>For a directory, the right to traverse the directory. By default, users are assigned the BYPASS_TRAVERSE_CHECKING privilege, which ignores the FILE_TRAVERSE access right. Only valid under a 'CreateFolder' parent.</xs:documentation></xs:annotation>
</xs:attribute>
<!-- File only ACLs -->
<xs:attribute name="Append" type="YesNoType">
</xs:attribute>
<xs:attribute name="Execute" type="YesNoType">
</xs:attribute>
<!-- File and Registry ACLs -->
<xs:attribute name="Write" type="YesNoType">
</xs:attribute>
<!-- Registry only ACLs -->
<xs:attribute name="CreateSubkeys" type="YesNoType">
</xs:attribute>
<xs:attribut
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -