Hi,
Please can anyone point me to some documentation on how the module installation process executes the SQL Data Provider scripts defined in the manifest file? Looking at the code, it appears that there are more options available than those illustrated in the VS DNN PA Module template, and, based on the tests I have carried out, it doesn't seem to work the way I expected it to.
There are two things I am interested in in particular:
- if I have module version 00.01.00 installed, and install over it a new version 01.00.00, given that there are scripts for each version defined in the manifest, which scripts should be executed during the installation??
- if I reinstall 01.00.00 (ie. "Repair" it), should the corresponding script be executed again?
For point 1, I would expect only the 01.00.00 script to be executed, but both appear to be.
For point 2, I would expect the 01.00.00 script to be executed again, but it appears not to be. If you change the script (designed to be re-runnable btw), repackage the module and reinstall / repair it, the script that is left in the module folder is not the changed version, but the previous one.
I would appreciate if anyone can offer clarification on how this is supposed to work.