title: Sequencing a custom action in WiX before "LaunchConditions"
body: <p>Is it possible to sequence a custom action before "LaunchConditions"?</p>
  
  <p>This is my custom action:</p>
  
  <pre><code>&lt;CustomAction
      Id="CA_vcAppRunning"
      BinaryKey="vcShowMsg"
      DllEntry="IsAppRunning"
      Return="check"
      Execute="immediate"/&gt;
  </code></pre>
  
  <p>Sequenced in <code>&lt;InstallExecuteSequence/&gt;</code></p>
  
  <pre><code>&lt;Custom Action="CA_vcAppRunning" Before="LaunchConditions" /&gt;
  </code></pre>
  
  <p>I tried this, opened the MSI file in <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa370557%28v=vs.85%29.aspx" rel="nofollow noreferrer">Orca</a> and found that my custom action is sequenced at "99".
  But when I tried to install, it never got called.</p>
  
  <p>I want to schedule this before LaunchConditions as this custom action is supposed to set a property which is used in the LaunchCondition (if the application is running, exit the installer/updater).</p>