我正在尝试下面的命令行相同,但在启动安装时它显示sql screens.how以使sql安装的沉默请。我在网上知道很多答案,但没有人工作。我正在使用vs2012 wpf和sql server 2008 r2 express。请帮忙。
SQLEXPR_x86_ENU.exe / QS / Action =安装/ Hideconsole / IACCEPTSQLSERVERLICENSETERMS / SkipRules = RebootRequiredCheck / FEATURES = SQLENGINE / InstanceName = SQLEXPRESS / AGTSVCACCOUNT =“NT AUTHORITY \ Network Service”/ AGTSVCSTARTUPTYPE = Automatic / SQLSVCACCOUNT =“NT AUTHORITY \ Network服务“/ ASSYSADMINACCOUNTS =”NT AUTHORITY \ Network Service“/ SQLSYSADMINACCOUNTS =”Builtin \ Administrators“/ BROWSERSVCSTARTUPTYPE = Automatic / SECURITYMODE = SQL / SAPWD = cptams / ADDCURRENTUSERASSQLADMIN = True / TCPENABLED = 1 / ENABLERANU = True
答案 0 :(得分:1)
/Q
<强> / Q 强> 指定安装程序在没有任何用户界面的安静模式下运行。这用于无人值守安装。
QUIET="True"
答案 1 :(得分:-1)
q /INDICATEPROGRESS="False" /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS="True" /QUIET="True" /SkipRules=RebootRequiredCheck /FEATURES=SQL,RS,BIDS,Conn,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,OCS /INSTANCENAME="SQLEXPRESS" /AGTSVCACCOUNT="NT AUTHORITY\SYSTEM" /AGTSVCSTARTUPTYPE="Disabled" /SQLSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE" /SQLSVCSTARTUPTYPE=Automatic /ASSVCSTARTUPTYPE=Automatic /RSSVCACCOUNT="NT AUTHORITY\SYSTEM" /RSSVCSTARTUPTYPE=Automatic /ISSVCACCOUNT="NT AUTHORITY\NetworkService" /ISSVCSTARTUPTYPE=Automatic /TCPENABLED="0" /NPENABLED="0" /BROWSERSVCSTARTUPTYPE=Automatic /SECURITYMODE=SQL /SAPWD=123456 /RSINSTALLMODE=FilesOnlyMode /SQLSYSADMINACCOUNTS="\Everyone"