title: How to add Sleep In Pascal Script (Inno Setup) which will execute before Extraction of Files
body: <p>I'm trying to make a installer, which will uninstall the older installation before installing the new installation.</p>
  <p>The problem I am facing is that, that the uninstaller stops and then removes the installed service, after removing service, windows takes 15 sec to remove that service, <code>waituntilterminated</code> flag doesn't help,</p>
  <p>Because remove service command (I.e. <code>service.exe remove</code>) finishes in under 1 sec</p>
  <p>All I want is to add a 15 sec Sleep which will execute after all the processes under <code>[UninstallRun]</code> finishes, or before the actual extraction of file takes place</p>
  <p>Because, otherwise uninstaller fails to delete all the files, as the process is still running for 15 sec</p>
  <p>Due to which, Reinstallation, throws an error that, Delete File fails Access Denied,</p>
  <p>If I wait for 15 sec and then click on retry, then the installer is able overwrite old files</p>