Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / July 2008

Tip: Looking for answers? Try searching our database.

How can i determine that sql server 2005 express is installed in a system?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anjan - 07 Jul 2008 16:54 GMT
Hi! How to check that SQL Server 2005 Express is installed in a system?

I want to create a small program that will create or modify a specific
database for my software. How do i check for the existance of the sql
server? Then prompt the user if he wants to set up sql server express?

Thanks!
Ekrem Önsoy - 07 Jul 2008 18:11 GMT
Hello Anjan,

You can check the Keys under
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server" to see if there
is an Express Edition installed or not.

Under that path, you'll see Keys such as "MSSQL.x" which stands for SQL
Server Component installations. And "Edition" values are kept under this
"MSSQL.x" Key's Setup Key. There, you'll see the "Edition" Value and it
contains the edition information of the installed SQL Server component.

And you may need to check the "FeatureList" Value to see if this MSSQL.x
belongs to a Database Engine, Analysis Services or Reporting Services.

I don't know if there is another more practical way.

Signature

Ekrem Önsoy

> Hi! How to check that SQL Server 2005 Express is installed in a system?
>
[quoted text clipped - 3 lines]
>
> Thanks!
Uri Dimant - 08 Jul 2008 08:48 GMT
http://dimantdatabasesolutions.blogspot.com/2007/04/whats-version-of-sql-server.html

> Hi! How to check that SQL Server 2005 Express is installed in a system?
>
[quoted text clipped - 3 lines]
>
> Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.