I am very new to Advanced Installer and are faced with a database installation project that involves the following and was wondering how this would get accomplished using Advanced Installer.
Background:
When we develop our SQL solutions we typically have one or more folders with .sql script files (stored procedures, views, data, tables, etc.) in them.
Each folder includes a .ini file referencing each script file to be deployed and the order in which it should get deployed to the target database
For scripts that need to be deployed to multiple databases we have a db.ini file that reference the database names to which the scripts should get deployed too. Any script files starting with db_ needs to be deployed to the list of databases in the db.ini file.
Questions:
1. Will the Advanced Installer read updated .sql files from the source folder(s) at compile time?
2. Can Advanced Installer read the .ini file to get the .SQL files to be added to the deployment project at compile time?
3. How would I setup the project to allow for executing one or more .sql scripts against the list of databases in the db.ini file, i.e. can Advanced Installer be setup to loop through the databases in the db.ini file executing the same set of .sql script files with each iteration?
4. If the script file(s) includes for example PRINT statements that would typically produce message output if run in SSMS, can these output messages be captured in an Advanced Installer log file?
Thank you for any advise, tips, tricks or ideas you can offer.
ArnieC
FOLLOW US
Get the latest news in Application Packaging