2进入命令行:

3运行
I:\>Setup.exe /ConfigurationFile="d:\ConfigurationFile.ini"

4安装完成

如何快捷编写配置文件,通过修改ui安装过程中的向导,生民第一个配置文件,配置保存在下图的路径中,打开并按如下修改它
添加
; Required to acknowledge acceptance of the license terms. IACCEPTSQLSERVERLICENSETERMS="True"不显示ui
;UIMODE="False"
注意 二选一,不然报错 ; 安装程序将不会显示任何用户界面。 QUIET="False" ; 安装程序将只显示进度,而不需要任何用户交互。 QUIETSIMPLE="True"
注意; 默认值为 Windows 身份验证。使用 "SQL" 表示采用混合模式身份验证。 SECURITYMODE="SQL" SAPWD="1qaz2WSX"
HELP
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Patrick>I:
I:\>setup.exe /help
Microsoft (R) SQL Server 2012 11.00.2100.60
版权所有 (c) Microsoft Corporation。保留所有权利。
用法:
setup.exe /[选项]={value} /[选项]={value} ...
选项:
ACTION 指定安装程序的工作流,如 INSTALL、UNINSTALL 或 UPG
RADE。这是必需的参数。
ADDCURRENTUSERASSQLADMIN Provision current user as a Database Engine
system administrator for SQL Server 2012 Express.
AGTDOMAINGROUP Either domain user name or system account
AGTSVCACCOUNT Either domain user name or system account
AGTSVCPASSWORD Password for domain user name. Not required for
system account
AGTSVCSTARTUPTYPE Startup type for the SQL Server Agent service.
Supported values are Manual, Automatic or
Disabled.
ALLINSTANCES 指定所有实例都将包括在安装操作中。只有在应用修补程
序时才支持此参数。
ALLOWUPGRADEFORSSRSSHAREPOIN
RSInputSettings_AllowUpgradeForSSRSSharePointMode_
Description
ASBACKUPDIR The location for the Analysis Services backup
files.
ASCOLLATION The collation used by Analysis Services.
ASCONFIGDIR The location for the Analysis Services
configuration files.
ASDATADIR The location for the Analysis Services data
files.
ASLOGDIR The location for the Analysis Services log files.
ASPROVIDERMSOLAP Specifies if the MSOLAP provider can run in
process.
ASSERVERMODE Specifies the server mode of the Analysis
Services instance. Valid values are
MULTIDIMENSIONAL and TABULAR. The default value
is MULTIDIMENSIONAL.
ASSVCACCOUNT The account used by the Analysis Services
service.
ASSVCPASSWORD The password for the Analysis Services service
account.
ASSVCSTARTUPTYPE Controls the service startup type setting for the
service.
ASSYSADMINACCOUNTS Specifies the list of administrator accounts to
provision.
ASTEMPDIR The location for the Analysis Services temp