title: NSIS ExecWait not launching secondary installer
body: <p>I have a basic NSIS installer that is supposed to call a secondary - non-NSIS installer like so:</p>
  
  <pre><code>Section "Install First" SEC01
      File "WindowsPathToFile\setup.exe"
      DetailPrint "Installing the first Thing"
      ExecWait '"$INSTDIR\setup.exe"'
  SectionEnd
  </code></pre>
  
  <p>NSIS and the installer do not throw any errors - however the sub installer is never launched or executed (and the application is never installed). </p>
  
  <p>Note that if I put the call to "setup.exe" in a batch script and launch the batch script this does work. I was just hoping for something more elegant (that doesn't display the command prompt) as I'll have several custom installers that need to be called.</p>
  
  <p>I didn't think that the ExecWait chain issue detailed in "<a href="http://nsis.sourceforge.net/When_I_use_ExecWait,_it_doesn&#39;t_wait" rel="nofollow">ExecWait Doesn't Wait</a>" would affect me as I don't think my (setup.exe) installer is extracting a secondary installer.</p>
  
  <p>The setup.exe installer is created by LabVIEW and I haven't found good information on what it's doing behind the scenes.</p>
  
  <p>Am I missing something here? Or do I just need to stick with the batch script?</p>