title: Executing an EXE file in WiX
body: <p>I try to execute an EXE file from an MSI file in WiX, but I got 1603 error when doing InitializeSetup.</p>
  
  <pre><code>Action ended 12:09:54: InstallValidate. Return value 1.
  Action start 12:09:54: InstallInitialize.
  Action ended 12:09:54: InstallInitialize. Return value 3.
  Action ended 12:09:54: INSTALL. Return value 3.
  </code></pre>
  
  <p>What is wrong in this WiX Script?</p>
  
  <pre><code> &lt;Product Name='something' Id='11934d63-12d1-4792-829e-046de3bb987e'
    UpgradeCode='{a101616a-365c-44a7-bfcb-fafb356c2ea1}'
    Language='1033' Version='8.3.4' Manufacturer='something2'&gt;
  
      &lt;Package Id='*' InstallerVersion='200' Compressed='yes' /&gt;
  
      &lt;Binary Id="Instalator.exe" SourceFile="d:\Instalator.exe"/&gt;
      &lt;CustomAction Id="LaunchFile" BinaryKey="Instalator.exe" ExeCommand="" Execute='deferred' Return='asyncNoWait' Impersonate='no'/&gt;
      &lt;InstallExecuteSequence&gt;
          &lt;Custom Action='LaunchFile' Before='InstallFinalize'/&gt;
      &lt;/InstallExecuteSequence&gt;
   &lt;/Product&gt;
  </code></pre>
  
  <p>I don't know why, but when I add:</p>
  
  <pre><code>&lt;Directory Id='TARGETDIR' Name='SourceDir'&gt;
          &lt;Component Id='MainExecutable' Guid='1193cd63-12d1-4792-829e-046de3bb987e'&gt;
          &lt;/Component&gt;
  &lt;/Directory&gt;
  
  &lt;Feature Id='Complete' Level='1'&gt;
    &lt;ComponentRef Id='MainExecutable' /&gt;
  &lt;/Feature&gt;
  </code></pre>
  
  <p>after Package node -> then it works fine. I need to figure out why...</p>