Solved

Install SQL Server  Instance only using Command line Arugument

Posted on 2010-11-10
4
324 Views
Last Modified: 2012-05-10
I am developing windows application using C# and SQL server 2005. For customers i am creating installation package using install shield. Currently the insatallation package will install SQL server express edition and create the our own intstant name.(if the system has SQL,then also it will install the sql and create the instance).Till now no problem we faced.   But one of our customer told that they have used other software which have already SQL. So no need to update or install the SQL server components. We should create only instance name only(they are worring ,during the SQL updation , it may crash existing application).
                                            Means that if Systam has alrady SQL ,then only create instance name.If system does not hav SQL then Install SQL and create instance name.
                                                Please guide me to solve this issuse.
0
Comment
Question by:rengsons
  • 2
4 Comments
 
LVL 38

Expert Comment

by:Jim P.
ID: 34108892
Assuming you have the full Installshield version this is easily handled, especially as an instance.

I'm going to refer you to this site -- http://www.installsite.org/pages/en/msi/isd.htm -- It sounds like they have done this before.

Our company does this as part of their SW install. I can probably give you specific guidance if needed.
0
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 35453197
please check this one:
How to: Install SQL Server 2005 from the Command Prompt

http://msdn.microsoft.com/en-us/library/ms144259(v=sql.90).aspx
---------------

Silent install new SQL Express instance via MSI
http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/f6d035a6-de02-4db3-8187-3162d6e6c7bd
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 35453205
one more:
install sql express instance with certain name as install prerequest


http://community.flexerasoftware.com/archive/index.php?t-185058.html
0
 

Author Closing Comment

by:rengsons
ID: 35938707
it helps to solve our problem.Thank you
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question