G
Guest
I rolled my own install that checks to see if SQL server is there like so
Dim svc As ServiceProcess.ServiceControlle
Tr
svc = New ServiceProcess.ServiceController("MSSQLServer"
Catch ex As Exceptio
Return ValRetCodes.NotInstalle
Exit Functio
End Tr
Dim startDate As DateTim
If Not IsNothing(svc) The
..
Els
Return ValRetCodes.NotInstalle
End I
Problem... on one user's box it runs, starts MSDE's install, but stops because it found datafiles
C:\Program Files\Microsoft SQL Server\MSSQL\Data\master.md
C:\Program Files\Microsoft SQL Server\MSSQL\Data\mastlog.ld
So my check was fruitless. Is MSDE installed? Is SQL installed? What's a better way to check, and if it's installed, how can I use it for my database, or should I?
Dim svc As ServiceProcess.ServiceControlle
Tr
svc = New ServiceProcess.ServiceController("MSSQLServer"
Catch ex As Exceptio
Return ValRetCodes.NotInstalle
Exit Functio
End Tr
Dim startDate As DateTim
If Not IsNothing(svc) The
..
Els
Return ValRetCodes.NotInstalle
End I
Problem... on one user's box it runs, starts MSDE's install, but stops because it found datafiles
C:\Program Files\Microsoft SQL Server\MSSQL\Data\master.md
C:\Program Files\Microsoft SQL Server\MSSQL\Data\mastlog.ld
So my check was fruitless. Is MSDE installed? Is SQL installed? What's a better way to check, and if it's installed, how can I use it for my database, or should I?