Silent install- what am I doing wrong?

  • It's been a few years since I did one of these, and I'm trying to get it working again, but whenever I kick off the install in the command prompt, the installation GUI is launched. What have I missed?

    Here is an obfuscated version of my config file:

    IACCEPTSQLSERVERLICENSETERMS="True"

    ACTION="Install"

    INSTANCEID="****"

    FEATURES=SQLENGINE,REPLICATION,FULLTEXT

    PID="****-****-****-****"

    UPDATEENABLED="False"

    HELP="False"

    INDICATEPROGRESS="False"

    QUIET="True"

    QUIETSIMPLE="True"

    X86="False"

    ENU="True"

    ERRORREPORTING="False"

    INSTALLSHAREDDIR="***"

    INSTALLSHAREDWOWDIR="***"

    INSTANCEDIR="***"

    SQMREPORTING="False"

    INSTANCENAME="*****"

    AGTSVCACCOUNT="***\*****"

    AGTSVCPASSWORD="***"

    AGTSVCSTARTUPTYPE="Automatic"

    SQLSVCSTARTUPTYPE="Automatic"

    FILESTREAMLEVEL="0"

    SQLCOLLATION="Latin1_General_CI_AS"

    SQLSVCACCOUNT="****\****"

    SQLSVCPASSWORD="****"

    SQLSYSADMINACCOUNTS="****\*****"

    SECURITYMODE="SQL"

    SAPWD= "*****"

    SQLBACKUPDIR="E:\MSSQL$*****\Data"

    SQLUSERDBLOGDIR="D:\MSSQL$*****\Data\MSSQL12.*****\MSSQL\Log"

    SQLTEMPDBDIR="F:\MSSQL$*****\Data\MSSQL12.*****\MSSQL\Data"

    TCPENABLED="1"

    NPENABLED="0"

    Sorry if I've missed something incredibly obvious. In the command prompt window I navigate to the directory containing the SQL install files and then enter:

    setup.exe /CONFIGURATIONFILE=c:\software\SQL2014****.ini /SQLSVCPASSWORD="****"

    I've tried various other parameters too, including putting the PID in the command, etc.

    Thanks in advance.

  • Hi,

    Looks like it could be a simple as missing out the /q from the command line.

    Cheers

  • Hi

    Thanks for replying. Like this?

    setup.exe /CONFIGURATIONFILE=c:\software\SQL2014****.ini /SQLSVCPASSWORD="****" \q

  • Standard one I've used in the past but you can add extra conditions or use the config file

    Sorry hit the wrong slash it should be /q

    Setup.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT="<DomainName\UserName>" /SQLSVCPASSWORD="<StrongPassword>" /SQLSYSADMINACCOUNTS="<DomainName\UserName>" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS

  • put this in your config file

    QUIET="True"

  • Thanks- I've had to stop messing around with that to work on something else, but I do appreciate the help, and may be able to have another try in a few days.

    Thanks again.

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply