Some log created by SQL Server?
Exactly, but Advanced Installer has not access to it and also no support to add its own information in it.
Logging to the MSI install file would be fine or a separate file would be fine as well.
You can
use custom actions to write in the verbose log of the package, but I don't see how would this be useful as you would need to retrieve somehow the output from the SQL server that executes your script.
For testing the SQL scripts included in a package we recommend a first series of tests outside the package, directly using the SQL tools you have. Only after the scripts were tested and you are sure they work you should included them in the package. This is a division of the development package that will allow you to easily debug problem from the scripts and the package.
Regards,
Bogdan
FOLLOW US
Get the latest news in Application Packaging