I am creating a bundle with several packages. One of these packages needs to be installed if the exit code of an executable has a certain value.
Is it possible to set the install condition of a package based on the exit code of an executable?
I am creating a bundle with several packages. One of these packages needs to be installed if the exit code of an executable has a certain value.
Is it possible to set the install condition of a package based on the exit code of an executable?
Burn only runs packages after it's already planned what to do with all of them. So no, you can't run an ExePackage and use its exit code to change the plan for another package. If you write a custom bootstrapper application, you could run an .exe, capture its exit code, and use it in the plan.
You may be able to use Burn Bootstrapper - part of the WIX toolkit: Wix Burn: How to stop Bootstrapper from installing itself