Solved

Install SQL Server  Instance only using Command line Arugument

Posted on 2010-11-10
4
328 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 43

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 43

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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 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