November 3, 2015 at 8:50 am
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.
November 4, 2015 at 2:40 am
Hi,
Looks like it could be a simple as missing out the /q from the command line.
Cheers
November 4, 2015 at 3:06 am
Hi
Thanks for replying. Like this?
setup.exe /CONFIGURATIONFILE=c:\software\SQL2014****.ini /SQLSVCPASSWORD="****" \q
November 4, 2015 at 3:21 am
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
November 6, 2015 at 5:18 am
put this in your config file
QUIET="True"
November 9, 2015 at 7:35 am
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