GabrielBarbu wrote:In order to avoid errors caused by comments, it is recommended that you use the "Strip comments from SQL Script" checkbox so that all comments are stripped before sending the query to the server.
Yes this fixes the problem, but we actually want the comments in the installed version of the script. If nothing else we have a header block in the scripts that lists its version history.
GabrielBarbu wrote:- Sub folders for organisation in the MSI
- Ability to set a directory as the source and the program to add all scripts in the directory with the parameters set by the sub folder.
I added this improvement on our TODO list and it will be implemented in a future version of Advanced Installer. Thank you for your suggestion.
Please note that SQL Scripts are executed in a certain order, and after you bulk-add them from a folder you will have to manually arrange them in the order that best fits your needs.
Thank you. We use the folders on the OS to organise the scripts into the order they need to be applied. If the sync process followed the folder name and then file name by default it would reduce a lot of hassle.
GabrielBarbu wrote:- Option to configure multiple extensions for SQL scripts e.g. tbl, sp, tr, vew, etc.
You can add and configure files with different extensions using the "*.*" filter in the Browse dialog when adding a script.
Even just changing the default would be an improvement. In the last update I had to add 100 scripts to two different connections (Live and Training). It's not even worth using your front end to do this because I would have to press plus, change the file type list then pick the script. Repeat for each script. It would take me hours to do it this way and I would have a high chance of missing a script.
I end up using the back end. Get the line format, a directory listing and use excel to change the data so that it matches your line format, then paste them into the aip file. I know what we are doing is probably not common but we have an installer with ~700 scripts at the moment (1400 when counting the two connections).