So, I have written an InstallScript Custom Action which checks to see if MySQL is installed on the system. I also have created a CA which "Launches an executable" (the MySQL setup.exe installation file. So, I insert my Custom actions after the "InstallFinalize" action, so the sequence order is as follows:
...
...
InstallFinalize
InstallScript CA
CA to launch the executable.
Okay, that's fine. But if my InstallScript code determines that MySQl has ALREADY been installed on the system, how do I let me second CA know this, so it won't run the executable? (Can I create an MSI "condition" that I can set for the second CA's condition field??)
As an alternative I tried in my InstallScript CA to call "LaunchAppAndWait" on the MySQL setup exectuable file....but this just LAUNCHES the MySQL setup.exe, and the rest of the installation of my product continues, while the MySQl install is running. This is not what I want....because not only am I required to have MySQl installed, but 2 other products as well.....so, if I put in 3 CA's to launch installation exectuables or .msi's, then I will have 3 installs running at once......not one waiting for the completion of another!!!!
Can anyone help? Please? : )
Thanks,
Kris