This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Microsoft SQL server 2012 silent install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2015
11:55 AM
Microsoft SQL server 2012 silent install
Hello All,
Im using InstallShield 2014 Professional and trying to install sql server silently and recieving the following error:
![](/legacyfs/online/vb/10823_error msg.png)
When i was searching for command line arguments, the MEDIALAYOUT was not found on the msdn site
Here is what my prereq looks like.
![](/legacyfs/online/vb/10824_prq.png)
Can anyone point me in the right direction for this issue. Thanks!
Im using InstallShield 2014 Professional and trying to install sql server silently and recieving the following error:
![](/legacyfs/online/vb/10823_error msg.png)
When i was searching for command line arguments, the MEDIALAYOUT was not found on the msdn site
Here is what my prereq looks like.
![](/legacyfs/online/vb/10824_prq.png)
Can anyone point me in the right direction for this issue. Thanks!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 02, 2015
07:03 PM
ChrisBahr wrote:
Hello All,
Im using InstallShield 2014 Professional and trying to install sql server silently and recieving the following error:
When i was searching for command line arguments, the MEDIALAYOUT was not found on the msdn site
Here is what my prereq looks like.
Can anyone point me in the right direction for this issue. Thanks!
There is no SQL Server 2012 Express setup command line "-T272" or "-T5566"
So you're probably getting a nonsense error message (about MEDIALAYOUT) that actually has nothing to do with your problem. Your problem is that you need to use a correct command line that the Microsoft setup routine for SQL Server 2012 Express recognizes:
h t t p s : / / msdn.microsoft.com/en-us/library/ms144259(v=sql.110).aspx
https://msdn.microsoft.com/en-us/library/ms144259(v=sql.110).aspx
In the screenshot below, I've spun up a 32-bit Win7 Enterprise VM and copied in the Microsoft SQL Server 2012 SP1 Express setup. I used your command line and it failed in exactly the fashion you described. Therefore you need to use a command line that works.
![](/legacyfs/online/vb/10826_SQL2012ExpError.png)
Note: you should figure out the correct command line without involving testing it through InstallShield (because that adds unnecessary, unhelpful complexity). It's clear that the problem has nothing to do with InstallShield or its handling of .PRQ's. Just spin up a VM as I did in the screenshot above, and figure out a command line that gets things installed per your requirements. Once you've got the right command line, you can replace the -T272 -T5566 that you're currently using.
Here's an example of an installation command line that I often use for SQL Server 2012 Express:
/QS /IAcceptSQLServerLicenseTerms /ACTION=Install /FEATURES=SQL /ENU /INSTANCENAME=FlexeraSoftware /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSYSADMINACCOUNTS="NT AUTHORITY\Authenticated Users" /ERRORREPORTING=0 /SECURITYMODE=SQL /SAPWD=yourP@ssword /HIDECONSOLE /UpdateEnabled=0 /SQLCOLLATION=SQL_Latin1_General_CP1_CI_AS /TCPENABLED=1 /NPENABLED=1 /ADDCURRENTUSERASSQLADMIN=True
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)