Context
I have a DNN 7 module that uses multiple tables.
I have the CREATE TABLE statements in separate files for clarity and ease of use.
My module's .dnn file has multiple entries for each script under the components tag.
Problem
When I install the module, only that last install script is executed (in the case of the example "CreateProductWidths"), ignoring the others.
Question
How can I run multiple scripts in separate files during installation? I have a total of 15 tables in this module, so it would not be conducive to have all of their definitions in one script. If it's too hard, I may be doing it wrong and I'm open to advice. Thanks.
Example
<component type="Script">
<scripts>
<basePath>DesktopModules\ProductManager</basePath>
<script type="Install">
<path>Providers\DataProviders\SqlDataProvider</path>
<name>CreateProductCategories.SqlDataProvider</name>
<version>00.00.01</version>
</script>
<script type="Install">
<path>Providers\DataProviders\SqlDataProvider</path>
<name>CreateProductFamilies.SqlDataProvider</name>
<version>00.00.01</version>
</script>
<script type="Install">
<path>Providers\DataProviders\SqlDataProvider</path>
<name>CreateProductWidths.SqlDataProvider</name>
<version>00.00.01</version>
</script>
<script type="UnInstall">
<path>Providers\DataProviders\SqlDataProvider</path>
<name>Uninstall.SqlDataProvider</name>
<version>00.00.01</version>
</script>
</scripts>
</component>