Solved

Install SQL Server  Instance only using Command line Arugument

Posted on 2010-11-10
4
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:
Eugene Z 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:Eugene Z
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
deprecated mysql extensions 1 30
JQuery on multiple lines 3 16
SQL Server maintenance plan not deleting backup files as anticipated 4 19
Need SSIS project 2 30
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
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 backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

733 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