Can I perform a custom action before "LaunchConditions"?
This is my usual action:
<CustomAction Id="CA_vcAppRunning" BinaryKey="vcShowMsg" DllEntry="IsAppRunning" Return="check" Execute="immediate"/>
Consistently in <InstallExecuteSequence/>
<Custom Action="CA_vcAppRunning" Before="LaunchConditions" />
I tried this, opened the .msi file in Orca, and found that my custom action is being ordered at "99". But when I tried to install, it was never called.
I want to plan this before LaunchConditions, since this custom action should set the property that is used in LaunchCondition (if the application is running, exit the setup / update program).
source share