title: How do I use burn's new ability to ability to launch an elevated process after installation is complete?
body: <p>The current set of samples on how to use <a href="http://wixtoolset.org/development/wips/3249-allow-ba-to-run-elevated-aync-process-through-engine/" rel="nofollow">wix's new ability to run an elevated process through the engine</a> is very sparse, if it exists at all. From the WIP and the <a href="http://wixtoolset.org/documentation/manual/v3/xsd/wix/approvedexeforelevation.html" rel="nofollow">schema docs</a>, I can see that I need a minimum of the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
       xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"&gt;
      &lt;Bundle Name="..." Version="1.0.0.0" Manufacturer="..." UpgradeCode="*"&gt;
        &lt;BootstrapperApplicationRef 
             Id="WixStandardBootstrapperApplication.RtfLicense"&gt;
          &lt;bal:WixStandardBootstrapperApplication 
             LaunchTargetElevatedId="LaunchElevatedInstallProc" 
             LaunchArguments="/myarg=1" 
             LicenseFile="license.rtf" /&gt;
        &lt;/BootstrapperApplicationRef&gt;
  
        &lt;ApprovedExeForElevation 
            Id="LaunchElevatedInstallProc" 
            Key="SOFTWARE\Company\Product" 
            Value="PathToExeDeliveredByMSI" /&gt;
  
        &lt;Chain&gt;
          &lt;MsiPackage SourceFile="Setup.msi" Compressed="yes" /&gt;
        &lt;/Chain&gt;
     &lt;/Bundle&gt;
   &lt;/Wix&gt;
  </code></pre>
  
  <p>The <code>Key</code> attribute of <code>&lt;ApprovedExeForElevation&gt;</code> makes sense; it's a registry path to the entry that was created in my msi. The <code>Value</code> attribute is the ValueName in the registry that I created, containing the path to the .exe that I delivered in my install:</p>
  
  <pre><code>  &lt;Component Id="Comp_Client_Service.exe" Guid="PUT-GUID-HERE"&gt;
      &lt;File Id="my.exe" Name="my.exe" Source="my.exe" KeyPath="yes" /&gt;
      &lt;RegistryValue 
           Root="HKLM" 
           Key="SOFTWARE\Company\Product" 
           Name="PathToExeDeliveredByMSI" 
           Value="[INSTALLFOLDER]my.exe" 
           Type="string"/&gt;
    &lt;/Component&gt;
  </code></pre>
  
  <p>Yet, this does not appear to be working. My .exe never launches, and the .log file provides no information that it is even attempting to launch it. </p>
  
  <p>What is this code missing?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The only piece of information that the log provides is that it is setting variables:</p>
  
  <blockquote>
    <p>Initializing string variable 'LaunchTargetElevatedId' to value 'LaunchElevatedInstallProc'<br>
    Initializing string variable 'LaunchArguments' to value '/s'</p>
  </blockquote>