![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am writing an installer that needs to put a dll file with a bunch of extended stored procedures in the BINN directory. The problem is that if the machine is running multiple instances of SQL Server, there is more than one BINN directory. The installer has a dynamically populated dropdown with the name of the instances, so does anyone know if this logic is correct and/or reliable assuming SQL Server 2000? If the instance name = "MSSQLSERVER" then path to BINN directory = registry value of HLM\SOFTWARE\Microsoft\MSSQLServer\Setup\SQLPath + "\BINN" If the instance name != "MSSQLSERVER" then path to BINN directory = registry value of HLM\SOFTWARE\Microsoft SQL Server\<Instance Name>\Setup\SQLPath + "\BINN" Thanks in advance for any help. |
![]() |
| Thread Tools | |
| Display Modes | |
| |