I am trying to call a dependent MSI setup (stored in Binary table) during my product installation (for example, after InstallFiles in InstallExecuteSquence) using a custom action "run executable" in my WiX code (I use WiX v3.5.2519.0) like this:
After="InstallFiles">OTHERMSI="" AND NOT PATCH AND NOT Installed</Custom>
When I run my MSI file it walks through until the custom action "INSTALL_OTHERMSI". But it always fails with an error message:
A program required for this install to complete could not be run.
I don't want to use a bootstrapper, I want pure MSI. I've seen similar installations (like JetBrains ReSharper, which installs Visual Studio 2010 SP1 during setup) already doing the trick. How can I fix this problem?
First of all Windows Installer doesn't allow two installations to run at the same time. Thus this approach will not work. What you need is MSI chaining. You can use the EmbeddedChainer element