command line install sql express 2008 r2 with tools

I'm trying to install SQL Express 2008 R2 doing a command line install.  I'm currently using following parameters:

 /Q /HIDECONSOLE /INSTANCENAME=SQLEXPRESS /FEATURES=TOOLS /SECURITYMODE=SQL /SAPWD=mypassword  /IACCEPTSQLSERVERLICENSETERMS

When I run the install the it will hang up and give me an error.  I'm trying to install SQL Server Express along with Management Studio using quite mode.
PeterTrefrenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AmmarRCommented:
this is another link about unattended installation

https://blogesh.wordpress.com/2008/09/23/silent-install-of-sql-server-2008/
0
PeterTrefrenAuthor Commented:
After a fair amount of trail and error I ended up using the following parameters:

/qs /ACTION=Install /FEATURES=SQL,Tools /SECURITYMODE=SQL /SAPWD="mypassword" /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS

I didn't seem to have a lot of success installing Tools by itself but at this point I'm happy with the fact it works.  
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AmmarRCommented:
its good to hear that.

i guess now you can keep it in a batch file or you also have the option if a configuration file for sql setup

http://msdn.microsoft.com/en-us/library/dd239405(v=SQL.100).aspx

All the best
0
PeterTrefrenAuthor Commented:
This solution will give a generic install of SQlL Server.  However just realize it does not allow remote connections.  If you are looking to have other computers access this instance of SQL server you wiill have to use the additional parameters.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.