如何在InstallShield 2015中静默安装SQL Server 2008 R2 Express

时间:2015-09-01 13:21:17

标签: sql-server-2008 installshield silent-installer

我正在尝试下面的命令行相同,但在启动安装时它显示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

2 个答案:

答案 0 :(得分:1)

  1. 对于无人参与安装,请添加/Q
  2.   

    <强> / Q   指定安装程序在没有任何用户界面的安静模式下运行。这用于无人值守安装。

    1. 使用configuation file并在configuration.ini QUIET="True"
    2. 中设置

答案 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"