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
- :
- Detect an SQL Instance
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 31, 2010
02:27 PM
Detect an SQL Instance
Is there a method of detecting an SQL Instance? I would like to run a "clean-up" query on an instance of SQL Server that the user can install "optionally". If I try to run the query and they didn't install it, then the uninstall fails.
I just want to test for existence, if the instance exists, then run my query otherwise, just ignore and go on.
Thanks!!
bob:confused:
I just want to test for existence, if the instance exists, then run my query otherwise, just ignore and go on.
Thanks!!
bob:confused:
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 03, 2010
03:04 PM
As mentioned in [thread=194787]this thread[/thread], one option is to use the ISSQLServerList action and then inspect the value of IS_SQLSERVER_FLATLIST...