
cjacob1.552492578676224E12 asked a question.
Running CA only when SQL Catalog WAS absent?
I need to run a Custom Action that basically executes an external program that fills a database.
For the CA to know the connection, I use the SQL Login dialog.
However, it is possible that the database already exists or that it does not exist. In case it does not exist, I need it to be created and later filled. If it already exists, the CA must not run.
For the database to be automatically created, I checked the "Create catalog if absent" checkbox.
How can the CA know that the catalog actually HAS been absent?
Stefan