I have a Chain with Exe1->Msi1->Exe2->Msi2.
I need a FileSearch result to decide if Exe2 is installed in its InstallCondition.
I have a FileSearch defined in a Fragment outside the Bundle and I am referring to it in the Bundle above the Chain.
How can ensure that the FileSearch is done after Msi1 is executed?
Similar question using RegistrySearch instead of FileSearch with one MsiPackage: WiX Bundle bal:condition - util:RegistrySearch variable always false
UPDATE: I have removed Exe2 from the Chain and I am trying to execute Exe2 in a deferred custom action from Msi1. Exe2 can run by itself but fails when run from the custom action. Need to dig deeper