Until now I used the IIS Web Deployment Tool to distribute my package, but now I am evaluating Advanced Installer. The problem is that I have some really huge install scripts that insert a lot of binaries into the database. There are 3 SQL scripts, around 200 MBs together. Web deployment tool can handle them (able to execute the scripts in around 1 minute), but Advanced Installer hangs up in the SQL script execution phase. No error messages, no crash, it just hangs up, and I cannot close the dialog either.
(another problem is that the package became 350 MBs after adding my scripts, is there a way to somehow compress the scripts...?)
I know that the package itself works, because I am able to complete the installer with a small SQL script. And of course the warning comes when I add my huge scripts that they are too big and mybe I'll have performance problems during installation, big suprise
Do you have any suggestions? Should I try to break down the script into smaller pieces? Or is there a way to restore a full database from a backup? The problem with that is that I have'nt found a way to do that In Advanced Installer and even if I found it, I'm not sure I can use it: I need my package to be compatible with different versions of SQL server, e.g. 2008 R2, 2012 Express, etc. Not sure if I can provide a unified database backup file for them to restore.
Thanks
Miklós
FOLLOW US
Get the latest news in Application Packaging