I was trying to pack (in test purposes) SomeProgram.exe to ZIP with checked option "Create self extracting archive" and to the same directory. Of course this was my mistake, but error message, instead of explaining my mistake, was unclear: "ZIP file contains errors or has unknown format, cannot change!".
So my suggestion is to add specific message for this case, like: "Can't create self-extracting archive SomeProgram.exe, because file SomeProgram.exe already exists".
Regards
Error when packing to SFX - better error message
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Actually you can pack a sfx into itself, although it's not really useful. So the error is correct.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com