aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/sql/SqlString.xsd
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2026-03-04 13:10:37 -0800
committerRob Mensching <rob@firegiant.com>2026-03-05 07:36:42 -0800
commita444435287f81b5e0ac66b849db7387f9def1d82 (patch)
tree662dce1adf9c40fdc24bad6f444dff58a1416e24 /src/xsd/sql/SqlString.xsd
parent918332a0e80e8761eca20e801ae7ce3631fdbaea (diff)
downloadwix-a444435287f81b5e0ac66b849db7387f9def1d82.tar.gz
wix-a444435287f81b5e0ac66b849db7387f9def1d82.tar.bz2
wix-a444435287f81b5e0ac66b849db7387f9def1d82.zip
Split XSDs into individual XSD fragments per element and type
This majorly improves the developer experience when editing documentation for each WiX element or type.
Diffstat (limited to 'src/xsd/sql/SqlString.xsd')
-rw-r--r--src/xsd/sql/SqlString.xsd88
1 files changed, 88 insertions, 0 deletions
diff --git a/src/xsd/sql/SqlString.xsd b/src/xsd/sql/SqlString.xsd
new file mode 100644
index 00000000..6288bb82
--- /dev/null
+++ b/src/xsd/sql/SqlString.xsd
@@ -0,0 +1,88 @@
1<element name="SqlString">
2 <annotation>
3 <appinfo>
4 <parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Component" />
5 </appinfo>
6 <documentation>SQL String</documentation>
7 </annotation>
8 <complexType>
9 <choice minOccurs="0" maxOccurs="unbounded">
10 <any namespace="##other" processContents="lax">
11 <annotation>
12 <documentation>
13 Extensibility point in the WiX XML Schema. Schema extensions can register additional
14 elements at this point in the schema.
15 </documentation>
16 </annotation>
17 </any>
18 </choice>
19 <attribute name="Id" type="xs:string">
20 <annotation>
21 <documentation>Unique identifier in your installation package for this sql command. If an Id is not provided, one will generated for you.</documentation>
22 </annotation>
23 </attribute>
24 <attribute name="SqlDb" type="xs:string">
25 <annotation>
26 <documentation>Id of the SqlDatabase to execute the script against. Required when not child of SqlDatabase.</documentation>
27 </annotation>
28 </attribute>
29 <attribute name="User" type="xs:string">
30 <annotation>
31 <documentation>Optional user used to connect to database.</documentation>
32 </annotation>
33 </attribute>
34 <attribute name="SQL" type="xs:string" use="required">
35 <annotation>
36 <documentation>SQL command to execute against the database.</documentation>
37 </annotation>
38 </attribute>
39 <attribute name="ExecuteOnInstall" type="wxs:YesNoTypeUnion">
40 <annotation>
41 <documentation>Specifies to execute the string when the associated component is installed. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.</documentation>
42 </annotation>
43 </attribute>
44 <attribute name="ExecuteOnReinstall" type="wxs:YesNoTypeUnion">
45 <annotation>
46 <documentation>Specifies whether to execute the string when the associated component is reinstalled. Setting ExecuteOnInstall to yes does <b>not</b> imply ExecuteOnReinstall is set to yes. ExecuteOnReinstall must be set in addition to ExecuteOnInstall for it to be executed during both install and reinstall. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.</documentation>
47 </annotation>
48 </attribute>
49 <attribute name="ExecuteOnUninstall" type="wxs:YesNoTypeUnion">
50 <annotation>
51 <documentation>Specifies to execute the string when the associated component is uninstalled. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes.</documentation>
52 </annotation>
53 </attribute>
54 <attribute name="RollbackOnInstall" type="wxs:YesNoTypeUnion">
55 <annotation>
56 <documentation>Specifies whether to execute the string on rollback if an attempt is made to install the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</documentation>
57 </annotation>
58 </attribute>
59 <attribute name="RollbackOnReinstall" type="wxs:YesNoTypeUnion">
60 <annotation>
61 <documentation>Specifies whether to execute the string on rollback if an attempt is made to reinstall the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</documentation>
62 </annotation>
63 </attribute>
64 <attribute name="RollbackOnUninstall" type="wxs:YesNoTypeUnion">
65 <annotation>
66 <documentation>Specifies whether to execute the string on rollback if an attempt is made to uninstall the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes.</documentation>
67 </annotation>
68 </attribute>
69 <attribute name="ContinueOnError" type="wxs:YesNoTypeUnion">
70 <annotation>
71 <documentation>Continue executing strings even if this one fails.</documentation>
72 </annotation>
73 </attribute>
74 <attribute name="Sequence" type="wxs:Integer">
75 <annotation>
76 <documentation>Specifes the order to run the SQL Strings. It is recommended that rollback strings be scheduled before their complementary execution string. This order is also relative across the SqlScript element.</documentation>
77 </annotation>
78 </attribute>
79 <anyAttribute namespace="##other" processContents="lax">
80 <annotation>
81 <documentation>
82 Extensibility point in the WiX XML Schema. Schema extensions can register additional
83 attributes at this point in the schema.
84 </documentation>
85 </annotation>
86 </anyAttribute>
87 </complexType>
88 </element> \ No newline at end of file