title: Self-extracting Delphi program
body: <p>I'm writing an updater program in Delphi7 which will be run once, but needs many files to run.</p>
  
  <p>What I'd like the achieve:</p>
  
  <ol>
  <li>User runs exe</li>
  <li>Exe unpacks files, runs updater</li>
  <li>If updater detects and error, prompts the user to send log in e-mail</li>
  <li>After the updater is run, temporary files are deleted (some of these files are dlls used by the updater program, so the updater has to be closed before the files can be deleted)</li>
  </ol>
  
  <p>Can anyone recommend a good solution? I've thought about using Inno Setup (too complicated for such an easy task) or using a self-extracting zip file (but how to delete the files afterwards)?</p>
  
  <p>Thanks!</p>