Re: Safe way to ensure that MSSQL 2000 or 2005 exists

Tech-Archive recommends: Fix windows errors by optimizing your registry



Does NSIS provide a way to check if a service MSSQL* exists?

Equivalent to

get-service mssql*

in Windows PowerShell.

Andrew Watt MVP

On 16 Jan 2007 04:21:17 -0800, pplat@xxxxxxxxx wrote:

Hi,
I am building an NSIS script in order to make an install cd for the
company's application.
One of the checks I have to do is whether the machine has SQL SERVER
2000 or 2005 installed.(the database engine I mean)
Is there a safe way,e.g from registry to check if one of the 2 is
installed?(I mean a certain key for both versions)

Thanx in advance!!

my English are poor :(
.