This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Running CA only when SQL Catalog WAS absent?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Mar 02, 2009
06:22 AM
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?
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?
(1) Reply