I can't find any way, but I want to check before I give up, to get the return value of a SQL Script.
In the first script of my installer I create an MS SQL database, which at the moment performs a DROP DATABASE before creation, which has been fine going though development, but now I want to alter the script to simply check for the existence of the database, and if it does exist then drop out of the installer with a dialog telling the user that the database already exists on the selected server.
Is this possible?
Obviously if I just remove the DROP statement the CREATE will fail because the database exists and the installer will stop because an error has occurred, but I want a slightly more slick way of dropping out rather than an error dialog.
I'm using 7.3.1
FOLLOW US
Get the latest news in Application Packaging