I have a simple Burn bootstrapper in which the first thing I need to do is trigger a reboot (before anything is installed), then continue with the installation after reboot. I have set up the chain as such:
<Chain>
<ExePackage SourceFile="DummyExe.exe">
<ExitCode Behavior="forceReboot" />
</ExePackage>
<PackageGroupRef Id="NetFx40Web" />
<PackageGroupRef Id="others..." />
</Chain>
This works fine when I run the installer initially: it forces a reboot and continues the installer upon login, but then the chain starts over again from the beginning, thus triggering another reboot. It just forces a reboot continuously and never continues installation.
I have found other answers that explain how to do this with a custom bootstrapper application, but I am currently using bal:WixStandardBootstrapperApplication
.
Is this possible without writing a CBA? (I am using WiX 3.7)