我有一个 WiX Bundle,它有一个 SQL Server 2012 SP1 ExePackage,它可以在 VM 中正确安装 SQL Server。从具有与 VM 中相同的操作系统的VHD启动机器时,安装程序失败,但是当我运行 ExePackage 中指定的命令行时,我没有问题,并且 SQL Server 已正确安装。
对于 SQL Server 设置,引导程序中运行的内容可能会发生什么变化?
这是ExePackage:
<ExePackage
Id = "SqlServerExpress"
Cache = "no"
Compressed = "no"
PerMachine = "yes"
Permanent = "yes"
Vital = "yes"
Name = "redist\SQLEXPR_x64_ENU.exe"
InstallCommand = "/ACTION=Install /UPDATEENABLED=false /INSTANCENAME=$(var.SqlInstanceName) /FEATURES=SQLEngine /QS /HIDECONSOLE /ROLE=ALLFeatures_WithDefaults /SKIPRULES=RebootRequiredCheck /SQLSYSADMINACCOUNTS=BUILTIN\Administrators /IACCEPTSQLSERVERLICENSETERMS"
RepairCommand = "/ACTION=Repair /UPDATEENABLED=false /INSTANCENAME=$(var.SqlInstanceName) /FEATURES=SQLEngine /QS /HIDECONSOLE"
DownloadUrl = "$(var.SqlDownloadUrl_x64)"
InstallCondition = "VersionNT64"
DetectCondition = "SqlServerInstanceInstalled"
>
更新:设置日志。