Self-extracting Delphi program

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-04-26T19:59:50Z Indexed on 2010/04/26 20:03 UTC
Read the original article Hit count: 322

Filed under:
|
|

I'm writing an updater program in Delphi7 which will be run once, but needs many files to run.

What I'd like the achieve: 1, User runs exe 2, Exe unpacks files, runs updater 3, If updater detects and error, prompts the user to send log in e-mail 4, 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)

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)?

Thanks!

© Stack Overflow or respective owner

Related posts about delphi

Related posts about extraction