title: Inno Setup Exec() function Wait for a limited time
body: <p>In my Inno Setup script I am executing 3rd party executable. I am using the <code>Exec()</code> function as below:</p>
  
  <pre class="lang-pascal prettyprint-override"><code>Exec(ExpandConstant('{app}\SomeExe.exe'), '', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode);
  </code></pre>
  
  <p>By mentioning <code>ewWaitUntilTerminated</code> it waits until the <code>SomeExe.exe</code> doesn't quit. I want to wait only for 10 secs. </p>
  
  <p>Is there any solution for that?</p>