Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / July 2004

Tip: Looking for answers? Try searching our database.

SQL Server or MSDE check during installation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Georg Schmitt - 18 Jul 2004 16:10 GMT
Hello,

When I'm installing an application, the setup routing should check if
there is a MSDE or SQL Server installed. If not, MSDE should be
installed first with this setup routine.

Is it possible to check this with a NET Setup/Installation Project or
with Installshild X (Express, Professional or Premier)?
Or do I have to write a special installation application?

regards,
Georg Schmitt
Tim Macaulay[MSFT] - 20 Jul 2004 19:03 GMT
I do not know if InstallShield has anything available to execute this type
of check.
However, I would recommend that you write a wrapper to accomplish this
task.  Here is some information that should assist in doing this:

Below are the registry locations of SQL Server, and if found, then the
default instance of SQL Server is present:
        For a default instance of the SQL Server 2000 database engine or
MSDE 2000, locate and select this key:
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\

The CurrentVersion key under that tells the current version of the SQL
Server installed.

        For a named instance of the SQL Server 2000 database engine or
MSDE 2000, locate and select this key:
       HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
Server\InstanceName\

Under the Microsoft SQL Server there should be at least one instance name.  
Customer can use this information to determine the instance name of the
MSDE installation programatically.

The CurrentVersion key under each instane tells the current version of SQL
Server installed.

========================================

If the customer is curious to know what GUID was used in the MSDE
installation.. read the information in the article below...
http://support.microsoft.com/default.aspx?scid=kb;EN-US;311762

Cheers,
Tim Macaulay, MCSD, MCP.Net
Microsoft Product Support

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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



©2008 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.