Using DNI to detect specific SQL Server Instance

Apr 26, 2012 at 1:54 PM
Edited Apr 26, 2012 at 2:03 PM

Hi everyone,


I've found helpful tips on how to use DNI's registry checks to determine if SQL Server is installed. However, that is not enough for my application. I need to be able to make a check for a specific instance is installed - that way my SQL Server installation will still happen even if SQL Server is already installed but still needs the specific instance that I intend to install. Does anyone know how I would go about doing this?


Thank you for any and all advice about this matter!

Apr 28, 2012 at 11:39 AM

DNI doesn't have a plugin-type check infrastructure, but I would love someone to contribute it. It would involve extracting a DLL (DNI can do that) and call some method instead of built in checks.

But I think you might want to revisit this. This is something that I would do inside the MSI. Not all SQL servers are local :) You might want to check out this project.