title: Launch an EXE from binary file
body: <p>Hi I have these two binary files:</p>
  
  <pre><code>&lt;Binary Id="Sentinel" SourceFile="sentinel_setup.exe"/&gt;
  &lt;Binary Id="Hasp" SourceFile="HASPUserSetup.exe"/&gt;
  </code></pre>
  
  <p>And I would like to start them on a button click like so:</p>
  
  <pre><code>&lt;CustomAction Id="LaunchHasp" BinaryKey="Hasp" ExeCommand="" Return="asyncWait" /&gt;
  &lt;CustomAction Id="LaunchSentinel" BinaryKey="Sentinel" ExeCommand="" Return="asyncWait"/&gt;
  
  &lt;Publish Event="DoAction" Value="LaunchHasp"&gt;1&lt;/Publish&gt;
  </code></pre>
  
  <p>But it doesn't work, It only works when I run the installer from the command line with elevated privileges. What am I doing wrong? Thanks</p>
  
  <p>Or can someone tell me how I could extract the file from the binary table using a c++ custom action as I cannot get it working at all..:(</p>