We have a Wix Customer Bootstrapper which installs SQL Server Express 2008 R2 SP2 as an ExePackage.
<ExePackage Name="Prerequisites.SQLServer\Prerequisites.SQLServer_setup.exe"
SourceFile="$(var.Prerequisites.SQLServer.TargetDir)\setup.exe"
DetectCondition="SQLServerVersion >=v10.50.4000.0 OR SQLServerx64Version >=v10.50.4000.0"
InstallCondition="INSTALL_SQL_SERVER > 0"
Vital="yes"
Permanent="yes">
<!--WindowsInstaller4_5-->
<PayloadGroupRef Id="WindowsInstaller4_5_Group"/>
<Payload Name="Prerequisites.SQLServer\Prerequisites.SQLServer.msi" SourceFile="$(var.Prerequisites.SQLServer.TargetDir)\Prerequisites.SQLServer.msi"/>
<Payload Name="Prerequisites.SQLServer\SqlExpress2008R2SP2\SQLEXPR_x64_ENU.exe" SourceFile="$(var.Prerequisites.SQLServer.TargetDir)\SqlExpress2008R2SP2\SQLEXPR_x64_ENU.exe" SuppressSignatureVerification="yes" />
<Payload Name="Prerequisites.SQLServer\SqlExpress2008R2SP2\SQLEXPR32_x86_ENU.exe" SourceFile="$(var.Prerequisites.SQLServer.TargetDir)\SqlExpress2008R2SP2\SQLEXPR32_x86_ENU.exe" SuppressSignatureVerification="yes" />
</ExePackage>
The Prerequisites.SQLServer.msi
has the bootstrapper package which has the command line argument /skiprules=RebootRequiredCheck
. Irrespective of this setting Windows 7 and 8 systems try to reboot. The problem is that the reboot happens and the custom bootstrapper is unable to continue.
I see two options here:
- Stop the reboot
- Ensure that custom bootstrapper can continue
Is there another option? Why was this issue not seen in SP1?
How can the reboot be stopped?
How can one ensure that the custom bootstrapper continues?