Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Selecting SQL Server Instance


1 reply to this topic

Vaibhav.Goel

Vaibhav.Goel
  • Members
  • 11 posts

Posted 21 March 2006 - 06:33

Hi,

I am creating an Installscript project using Installshield 11 and I need to provide a screen which can display the SQL Server instances installed on a machine. For this I have used the SQLBrowse dialog box. This works fine except when I do not have a default SQL Server instance. The problem that I am facing is that when my machine has only one instance of SQL Server called MyInstance1 then the SQLBrowse dialog box displays 2 instances Local and Local\MyInstance1. The default instance is not existing on my machine still it is displayed. How do I stop this?


Vaibhav.Goel

Vaibhav.Goel
  • Members
  • 11 posts

Posted 30 March 2006 - 11:26

OK...This seems to be a bug in Installshield 11 and would be fixed in Installshield 12 only.
To solve my problem I have created a custom dialog box with a list box and displayed the list of installed instances by reading from the registry.