Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Error in automated installation of SQL Server 2012: The syntax of argument "/DIRECTORY" is incorrect ...

$
0
0

Hi ,

i wrote a little program which creates a config file for the unattended installation of SQL Server 2012. So far so good, but i get this error if i start the installation:

Message:
        The syntax of argument "/DIRECTORY" is incorrect. Either the delimiter '=' is missing or there is one or more space characters before the delimiter '='. Please use /? to check usage.
    HResult : 0x84b40001
        FacilityCode : 1204 (4b4)
        ErrorCode : 1 (0001)

This is the created config file (Note that sensible data like PID is anonymized):

;SQL SERVER 2012 Configuration File
[OPTIONS]

; Required to acknowledge acceptance of the license terms.
IACCEPTSQLSERVERLICENSETERMS="True"

; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.
ACTION="Install"

; Setup will display progress only, without any user interaction.
QUIETSIMPLE="TRUE"

; Specifies that the detailed Setup log should be piped to the console.
INDICATEPROGRESS="False"

; Specifies that Setup should install into WOW64. This command line argument is not supported on an IA64 or a 32-bit system.
X86="False"

; Specify that SQL Server feature usage data can be collected and sent to Microsoft. Specify 1 or True to enable and 0 or False to disable this feature.
SQMREPORTING="False"

; Specify if errors can be reported to Microsoft to improve future SQL Server releases. Specify 1 or True to enable and 0 or False to disable this feature.
ERRORREPORTING="False"

; Specify 0 to disable or 1 to enable the TCP/IP protocol.
TCPENABLED="0"

; Specify 0 to disable or 1 to enable the Named Pipes protocol.
NPENABLED="0"

; Detailed help for command line argument ENU has not been defined yet.
ENU="True"

; Startup type for Browser Service.
BROWSERSVCSTARTUPTYPE="Disabled"

FEATURES=SQLENGINE,SSMS,ADV_SSMS

INSTALLSHAREDDIR="C:\Program Files\Microsoft SQL Server"

INSTALLSHAREDWOWDIR="C:\Program Files (x86)\Microsoft SQL Server"

; Specify whether SQL Server Setup should discover and include product updates. The valid values are True and False or 1 and 0. By default SQL Server Setup will include updates that are found.
UpdateEnabled="True"

; Specify the location where SQL Server Setup will obtain product updates. The valid values are "MU" to search Microsoft Update, a valid folder path, a relative path such as .\MyUpdates or a UNC share.
;By default SQL Server Setup will search Microsoft Update or a Windows Update service through the Window Server Update Services.
UpdateSource="E:\SQLServer2012_incl_SP1_CU1_dev\Updates"

; Specifies the Productkey and therefor the Edition of SQL Server
PID="XXXX-XXXXX-XXXXX-XXXXX-XXXXX"

; SQL Server Agent service account name
AGTSVCACCOUNT="NT Service\SQLAgent$MSSQLSERVER"
; SQL Server Agent startup type
AGTSVCSTARTUPTYPE="Automatic"

; SQL Server service: Domain\User or system account.
SQLSVCACCOUNT="NT Service\MSSQL$MSSQLSERVER"
; SQL Server Agent startup type
SQLSVCSTARTUPTYPE="Automatic"

; Startup type for Browser Service.
BROWSERSVCSTARTUPTYPE="Automatic"

; Windows account(s) to provision as SQL Server system administrators.
SQLSYSADMINACCOUNTS="BUILTIN\Administrators"

; Specifies a Windows collation or an SQL collation to use for the Database Engine.
SQLCOLLATION="Latin1_General_CI_AS"

; The Database Engine root data directory.
INSTALLSQLDATADIR="E:\Program Files\Microsoft SQL Server"

; Default directory for the Database Engine backup files.
SQLBACKUPDIR="E:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup"

; Default directory for the Database Engine user databases.
SQLUSERDBDIR="E:\Databases"

; Default directory for the Database Engine user database logs.
SQLUSERDBLOGDIR="E:\Logs"

; Directory for Database Engine TempDB files.
SQLTEMPDBDIR="E:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Data"

Directory for the Database Engine TempDB log files.
SQLTEMPDBDIR="E:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Data"

; Directory for Database Engine TempDB files.
SQLTEMPDBLOGDIR="E:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Data"

INSTANCENAME="MSSQLSERVER"

Hopefully somebody knows what the cause of this error is. Thank you very much for taking your time to read this :)

Olaf



Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>