Skip to content

What is installed?

Kevin Damen

Asked Jan 25, 2006, 1:07 AM EST1 answer
Share
LinkedInX
Hi all,

To jump right to the case, I want to create a DLL that checks if Windows 2000 server
is installed on the pc. If so then I would like to run the file scripting.exe.

I also want to check if SP3a or higher of SQL Server 2000 or MSDE 2000 is installed.

I think this is possible, I have checked every corner of the Internet, but could not find anything.

Thanks in advance!

  

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Hi, You can access your Windows version using the System.Environment.OSVersion class. You can also refer to the following article to identify which version of SQL Server is running : http://support.microsoft.com/Default.aspx?id=321185#XSLTH3130121121120121120120 or more generally http://support.microsoft.com/Default.aspx?id=321185 As you'll see in that article, if you have access to the SQL Server itself, you can execute a simple query and get the version and if not, you can check the version of Sqlservr.exe which would need to be >= 2000.80.760.0. For MSDE, just look for the MSDE server's executable file. Hope this helps, Simon
    0