title: Running applications after installation in wix
body: <p>This is my first project with WIX and installers. I want to run some vbscript and one application after installation is finished. The exe file is copied during the installation process but it's not the main program installed. All the scripts and application requires that they are run after all the files are copied. There is no custom GUI at this moment. My problem is if I put After = "InstallFinalize" int InstallExecuteSequence it always gives me error </p>
  
  <p>Error   14  ICE77: LaunchNotePad is a in-script custom action.  It must be sequenced in between the InstallInitialize action and the InstallFinalize action in the InstallExecuteSequence table </p>
  
  <p>In the example given I am trying to launch Notepad. Even if I try to run any other exe files a specific FileKey I get this error. It works only if I put Before = "InstallFinalize". More over it will work if I run the exe from ExeCommand, like the LaunchDeploymentManager custom action. What am I missing here</p>
  
  <pre><code>&lt;Property Id='NOTEPAD'&gt;Notepad.exe&lt;/Property&gt;
  &lt;CustomAction Id='LaunchNotePad' Property='NOTEPAD' Execute='commit' ExeCommand='' Impersonate='no' Return='asyncNoWait'/&gt;
  
  &lt;!--&lt;CustomAction Id="LaunchDeployementManager" Directory="SERVICEFOLDER" ExeCommand="[SystemFolder]cmd.exe /C start DeploymentManager.exe" /&gt;--&gt;
  
  &lt;InstallExecuteSequence&gt;
    &lt;Custom Action="LaunchNotePad" After="InstallFinalize"&gt;NOT Installed&lt;/Custom&gt;
    &lt;!--&lt;Custom Action="LaunchDeployementManager" After="InstallFinalize" /&gt;--&gt;
  &lt;/InstallExecuteSequence&gt;
  </code></pre>