aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2025-04-28 11:27:10 -0700
committerRob Mensching <rob@firegiant.com>2025-11-02 11:48:43 -0800
commit49cecb056c582ffafb45221679882b07ce497396 (patch)
treef468e4dbe0673bba13bbd22c7b685c1b9f84555a /src
parente8e881207a2716f5813e0c76bf2e5e937d3bb3ff (diff)
downloadwix-49cecb056c582ffafb45221679882b07ce497396.tar.gz
wix-49cecb056c582ffafb45221679882b07ce497396.tar.bz2
wix-49cecb056c582ffafb45221679882b07ce497396.zip
Minor doc improvements around RegistryValue Action and Type attributes
Diffstat (limited to 'src')
-rw-r--r--src/xsd/wix.xsd158
1 files changed, 86 insertions, 72 deletions
diff --git a/src/xsd/wix.xsd b/src/xsd/wix.xsd
index 612a6a45..692d251b 100644
--- a/src/xsd/wix.xsd
+++ b/src/xsd/wix.xsd
@@ -6167,87 +6167,19 @@
6167 </xs:documentation> 6167 </xs:documentation>
6168 </xs:annotation> 6168 </xs:annotation>
6169 </xs:attribute> 6169 </xs:attribute>
6170 <xs:attribute name="Type"> 6170 <xs:attribute name="Type" type="RegistryValueTypeUnion">
6171 <xs:annotation> 6171 <xs:annotation>
6172 <xs:documentation> 6172 <xs:documentation>
6173 Set this attribute to the type of the desired registry key. This attribute must be specified whenever the Value 6173 Set this attribute to the type of the desired registry key. If not specified, the default is 'string'.
6174 attribute or a child RegistryValue element is specified. This attribute
6175 should only be set when the value of the Action attribute does not include the word 'remove'.
6176 </xs:documentation> 6174 </xs:documentation>
6177 </xs:annotation> 6175 </xs:annotation>
6178 <xs:simpleType>
6179 <xs:restriction base="xs:NMTOKEN">
6180 <xs:enumeration value="string">
6181 <xs:annotation>
6182 <xs:documentation>
6183 The value is interpreted and stored as a string (REG_SZ).
6184 </xs:documentation>
6185 </xs:annotation>
6186 </xs:enumeration>
6187 <xs:enumeration value="integer">
6188 <xs:annotation>
6189 <xs:documentation>
6190 The value is interpreted and stored as an integer (REG_DWORD).
6191 </xs:documentation>
6192 </xs:annotation>
6193 </xs:enumeration>
6194 <xs:enumeration value="binary">
6195 <xs:annotation>
6196 <xs:documentation>
6197 The value is interpreted and stored as a hexadecimal value (REG_BINARY).
6198 </xs:documentation>
6199 </xs:annotation>
6200 </xs:enumeration>
6201 <xs:enumeration value="expandable">
6202 <xs:annotation>
6203 <xs:documentation>
6204 The value is interpreted and stored as an expandable string (REG_EXPAND_SZ).
6205 </xs:documentation>
6206 </xs:annotation>
6207 </xs:enumeration>
6208 <xs:enumeration value="multiString">
6209 <xs:annotation>
6210 <xs:documentation>
6211 The value is interpreted and stored as a multiple strings (REG_MULTI_SZ).
6212 Please note that this value will only result in a multi-string value if there is more than one registry value
6213 or the Action attribute's value is 'append' or 'prepend'. Otherwise a string value will be created.
6214 </xs:documentation>
6215 </xs:annotation>
6216 </xs:enumeration>
6217 </xs:restriction>
6218 </xs:simpleType>
6219 </xs:attribute> 6176 </xs:attribute>
6220 <xs:attribute name="Action"> 6177 <xs:attribute name="Action" type="RegistryValueActionUnion">
6221 <xs:annotation> 6178 <xs:annotation>
6222 <xs:documentation> 6179 <xs:documentation>
6223 This is the action that will be taken for this registry value. 6180 This is the action that will be taken for this registry value. If not specified, the default is 'write'.
6224 </xs:documentation> 6181 </xs:documentation>
6225 </xs:annotation> 6182 </xs:annotation>
6226 <xs:simpleType>
6227 <xs:restriction base="xs:NMTOKEN">
6228 <xs:enumeration value="append">
6229 <xs:annotation>
6230 <xs:documentation>
6231 Appends the specified value(s) to a multiString registry value.
6232 </xs:documentation>
6233 </xs:annotation>
6234 </xs:enumeration>
6235 <xs:enumeration value="prepend">
6236 <xs:annotation>
6237 <xs:documentation>
6238 Prepends the specified value(s) to a multiString registry value.
6239 </xs:documentation>
6240 </xs:annotation>
6241 </xs:enumeration>
6242 <xs:enumeration value="write">
6243 <xs:annotation>
6244 <xs:documentation>
6245 Writes a registry value. This is the default value.
6246 </xs:documentation>
6247 </xs:annotation>
6248 </xs:enumeration>
6249 </xs:restriction>
6250 </xs:simpleType>
6251 </xs:attribute> 6183 </xs:attribute>
6252 <xs:attribute name="KeyPath" type="YesNoTypeUnion"> 6184 <xs:attribute name="KeyPath" type="YesNoTypeUnion">
6253 <xs:annotation> 6185 <xs:annotation>
@@ -14435,6 +14367,88 @@
14435 </xs:enumeration> 14367 </xs:enumeration>
14436 </xs:restriction> 14368 </xs:restriction>
14437 </xs:simpleType> 14369 </xs:simpleType>
14370 <xs:simpleType name="RegistryValueTypeUnion">
14371 <xs:annotation>
14372 <xs:documentation>Values of this type represent possible registry value types.</xs:documentation>
14373 </xs:annotation>
14374 <xs:union memberTypes="RegistryValueType PreprocessorVariables"/>
14375 </xs:simpleType>
14376 <xs:simpleType name="RegistryValueType">
14377 <xs:annotation>
14378 <xs:documentation>Values of this type represent possible registry value types.</xs:documentation>
14379 </xs:annotation>
14380 <xs:restriction base="xs:NMTOKEN">
14381 <xs:enumeration value="string">
14382 <xs:annotation>
14383 <xs:documentation>The value is interpreted and stored as a string (REG_SZ).</xs:documentation>
14384 </xs:annotation>
14385 </xs:enumeration>
14386 <xs:enumeration value="integer">
14387 <xs:annotation>
14388 <xs:documentation>
14389 The value is interpreted and stored as an integer (REG_DWORD).
14390 </xs:documentation>
14391 </xs:annotation>
14392 </xs:enumeration>
14393 <xs:enumeration value="binary">
14394 <xs:annotation>
14395 <xs:documentation>
14396 The value is interpreted and stored as a hexadecimal value (REG_BINARY).
14397 </xs:documentation>
14398 </xs:annotation>
14399 </xs:enumeration>
14400 <xs:enumeration value="expandable">
14401 <xs:annotation>
14402 <xs:documentation>
14403 The value is interpreted and stored as an expandable string (REG_EXPAND_SZ).
14404 </xs:documentation>
14405 </xs:annotation>
14406 </xs:enumeration>
14407 <xs:enumeration value="multiString">
14408 <xs:annotation>
14409 <xs:documentation>
14410 The value is interpreted and stored as a multiple strings (REG_MULTI_SZ).
14411 Please note that this value will only result in a multi-string value if there is more than one registry value
14412 or the Action attribute's value is 'append' or 'prepend'. Otherwise a string value will be created.
14413 </xs:documentation>
14414 </xs:annotation>
14415 </xs:enumeration>
14416 </xs:restriction>
14417 </xs:simpleType>
14418 <xs:simpleType name="RegistryValueActionUnion">
14419 <xs:annotation>
14420 <xs:documentation>Values of this type represent possible registry value actions.</xs:documentation>
14421 </xs:annotation>
14422 <xs:union memberTypes="RegistryValue PreprocessorVariables"/>
14423 </xs:simpleType>
14424 <xs:simpleType type="RegistryValueAction">
14425 <xs:annotation>
14426 <xs:documentation>Values of this type represent possible registry value actions.</xs:documentation>
14427 </xs:annotation>
14428 <xs:restriction base="xs:NMTOKEN">
14429 <xs:enumeration value="append">
14430 <xs:annotation>
14431 <xs:documentation>
14432 Appends the specified value(s) to a multiString registry value.
14433 </xs:documentation>
14434 </xs:annotation>
14435 </xs:enumeration>
14436 <xs:enumeration value="prepend">
14437 <xs:annotation>
14438 <xs:documentation>
14439 Prepends the specified value(s) to a multiString registry value.
14440 </xs:documentation>
14441 </xs:annotation>
14442 </xs:enumeration>
14443 <xs:enumeration value="write">
14444 <xs:annotation>
14445 <xs:documentation>
14446 Writes a registry value.
14447 </xs:documentation>
14448 </xs:annotation>
14449 </xs:enumeration>
14450 </xs:restriction>
14451 </xs:simpleType>
14438 <xs:simpleType name="ExitType"> 14452 <xs:simpleType name="ExitType">
14439 <xs:annotation> 14453 <xs:annotation>
14440 <xs:documentation>Value indicates that this action is executed if the installer returns the associated exit type. Each exit type can be used with no more than one action. 14454 <xs:documentation>Value indicates that this action is executed if the installer returns the associated exit type. Each exit type can be used with no more than one action.