最近公司要研究一些软件的无人值守安装,没办法只好硬着头皮研究了。
在此记录下来方便以后用到
SQLServer 的静默安装
参考微软的命令安装说明文档
- D:\software\setup.exe /q
- /ACTION=Install
- /FEATURES=SQLENGINE,REPLICATION,AS,RS,IS,BC,BOL,BIDS,CONN,SSMS,ADV_SSMS,SNAC_SDK,SDK
- /INSTANCENAME=MSSQLSERVER
- /SQLSVCACCOUNT="NT AUTHORITY\Network Service"
- /SQLSYSADMINACCOUNTS="iap\administrator"
- /AGTSVCACCOUNT="NT AUTHORITY\Network Service"
- /ASSVCACCOUNT="NT AUTHORITY\Network Service"
- /ASSYSADMINACCOUNTS="iap\administrator"
- /RSSVCACCOUNT="NT AUTHORITY\Network Service"
- /SAPWD="123456"
- /IACCEPTSQLSERVERLICENSETERMS