From a444435287f81b5e0ac66b849db7387f9def1d82 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 4 Mar 2026 13:10:37 -0800 Subject: 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. --- src/xsd/sql/SqlScript.xsd | 88 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 src/xsd/sql/SqlScript.xsd (limited to 'src/xsd/sql/SqlScript.xsd') diff --git a/src/xsd/sql/SqlScript.xsd b/src/xsd/sql/SqlScript.xsd new file mode 100644 index 00000000..7db3f119 --- /dev/null +++ b/src/xsd/sql/SqlScript.xsd @@ -0,0 +1,88 @@ + + + + + + SQL Script + + + + + + + Extensibility point in the WiX XML Schema. Schema extensions can register additional + elements at this point in the schema. + + + + + + + Unique identifier in your installation package for this sql script. If an Id is not provided, one will generated for you. + + + + + Id of the SqlDatabase to execute the script against. Required when not child of SqlDatabase. + + + + + Optional user used to connect to database. + + + + + Reference to Binary stream that contains the SQL script to execute. + + + + + Specifies to execute the script when the associated component is installed. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes. + + + + + Specifies whether to execute the script when the associated component is reinstalled. Setting ExecuteOnInstall to yes does not 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. + + + + + Specifies to execute the script when the associated component is uninstalled. This attribute is mutually exclusive with the RollbackOnInstall, RollbackOnReinstall and RollbackOnUninstall attributes. + + + + + Specifies whether to execute the script on rollback if an attempt is made to install the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes. + + + + + Specifies whether to execute the script on rollback if an attempt is made to reinstall the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes. + + + + + Specifies whether to execute the script on rollback if an attempt is made to uninstall the associated component. This attribute is mutually exclusive with the ExecuteOnInstall, ExecuteOnReinstall and ExecuteOnUninstall attributes. + + + + + Continue executing scripts even if this one fails. + + + + + Specifes the order to run the SQL Scripts. It is recommended that rollback scripts be scheduled before their complementary execution script. This order is also relative across the SqlString element. + + + + + + Extensibility point in the WiX XML Schema. Schema extensions can register additional + attributes at this point in the schema. + + + + + \ No newline at end of file -- cgit v1.2.3-55-g6feb