How to Silently Install SQL Server 2008 Express In InstallShield 2010

Mehdi Radi picture Mehdi Radi · Dec 23, 2012 · Viewed 8.8k times · Source

I use InstallShield 2010 to create my setup.

My program needs SQL Server 2008 Express. So I added "Microsoft SQL Server 2008 Express SP1 (x86)" in the redistributables section.

Then in "Edit Prerequisites" => "Application To Run" tab, I insert this statement in a textbox:

SQLEXPR32_x86_ENU.exe /qs /ACTION=Install /FEATURES=SQLENGINE /INSTANCENAME=MSSQLSERVER 
       /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSVCPASSWORD="YesYes"  
       /SQLSYSADMINACCOUNTS="Builtin\Administrators" 
       /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS=true

http://i46.tinypic.com/a0a343.jpg

But when I run the setup, after some minutes I see this message and SQL Server 2008 Express isn't installed.

http://i50.tinypic.com/2krcr9.jpg

Now how can I completely install SQL Server 2008 Express in silent mode?

[UPDATE]

Problem Solved:

I Do 3 Steps To Solved My Problem:

1- Restart My Computer

2- Delete "/IACCEPTSQLSERVERLICENSETERMS=true" From Statement

3 - Delete /SQLSVCPASSWORD="YesYes" From Statement

Answer

else picture else · Mar 7, 2013

I am not sure /IACCEPTSQLSERVERLICENSETERMS requires a boolean value at all?... I just include the statement, without a parameter value and it works.