Sql script is never executed - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

srishmawi
Posts: 21
Joined: Tue Jul 07, 2009 2:04 pm

Sql script is never executed

Hello,
I have 2 sql scripts that run fine with the installer.
But when I dded the 3rd, the intaller never run the 3rd script, i tried to set the condition with always true value but still not working.

I cant send my .aip project because it's agains our organization policy.
I need help over here.

thanks,
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Sql script is never executed

Hello,

You can try the following:
- build your installer with only the first two scripts
- run your installer and let them execute, so that they do to the database whatever they are supposed to do
Now uninstall the product without running any scripts you may be using to undo whatever your first two scripts did. When the uninstall is finished, the database needs to remain in the same state it was after installing the package.

Now remove the first two scripts from the project and add the third one. Run the installer. Did the script execute?

If you still can not troubleshoot the issue, contact us via email to support at advancedinstaller dot com and we will provide you with another method for troubleshooting this.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”