BURN - SQL Server 2014安装大约需要50分钟才能完成

时间:2016-09-01 08:49:30

标签: wix sql-server-2014 burn

作为先决条件,我在安装应用程序之前已经安装了SQL Server 2014 Express版本。

SQL安装成功。但是,完成SQL安装需要将近50分钟,然后继续安装我的应用程序。这是正常的吗? SQL实际上需要大约50分钟。安装。我不这么认为。

这是我的命令:

<ExePackage Id="SQLExpress2014"
                  Cache="no"
                  Compressed="yes"
                  PerMachine="yes"
                  Permanent="yes"
                  Vital="yes"
                  SourceFile="Resources\SQLEXPR_x64_ENU.exe"
                  InstallCommand="/ACTION=Install /Q /IACCEPTSQLSERVERLICENSETERMS /FEATURES=SQLEngine /INSTANCENAME=$(var.SqlServerInstance) /SQLSYSADMINACCOUNTS=BUILTIN\Administrators /SECURITYMODE=SQL /SAPWD=Password /SQLCOLLATION=SQL_Latin1_General_CP1_CI_AS"
                  UninstallCommand="/ACTION=Uninstall /Q /FEATURES=SQLEngine /INSTANCENAME=$(var.SqlServerInstance) "
                  RepairCommand="/ACTION=Repair /Q /FEATURES=SQLEngine / INSTANCENAME=$(var.SqlServerInstance) /FEATURES=SQLENGINE"
                  DetectCondition="SqlInstanceFound"
                  InstallCondition="RadioButton1 = 1 AND VersionNT64 AND NOT SqlInstanceFound"/>

日志文件似乎也没有任何相关信息。 以下是日志文件的摘录,其中显示了时滞。

09/01/2016 00:27:25.295 Attempting to get execution timestamp
09/01/2016 00:27:25.295 Timestamp: 20160901_002724
09/01/2016 00:27:25.295 Attempting to launch local setup.exe
09/01/2016 00:27:25.316 Attempting to launch process C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014\setup.exe
09/01/2016 01:18:46.100 Process returned exit code: 0x00000000
09/01/2016 01:18:46.100 Local setup.exe returned exit code: 0x00000000
09/01/2016 01:18:46.141 Setup closed with exit code: 0x00000000
09/01/2016 01:18:46.155 ======================================================================

突出显示的是显示时滞的两个陈述。 有什么我做错了,或者有什么方法可以减少这个时间。

没有其他进程或任何问题,因为这是我尝试安装的新机器。

非常感谢任何帮助。

TIA Ashutosh说

1 个答案:

答案 0 :(得分:1)

给安装“/ UpdateEnabled = 0”。这应该会大大减少安装时间。 SQL的日志也应位于C:\Program Files (x86)\Microsoft SQL Server\120\Setup Bootstrap\Log