Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 4

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?
Labels (1)
0 Kudos
(1) Reply
Level 5

If you can change the external program, you can run the CA everytime and let the external program decide to fill the database or not.

0 Kudos