Page 1 of 1

Error when packing to SFX - better error message

Posted: 2013-10-26, 13:23 UTC
by MarcinW
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

Posted: 2013-10-27, 14:36 UTC
by ghisler(Author)
Actually you can pack a sfx into itself, although it's not really useful. So the error is correct.

Posted: 2013-10-30, 19:49 UTC
by MarcinW
Wow :) So maybe instead of:
"ZIP file contains errors or has unknown format, cannot change!",

TC could say in this case:
"Self-extracting ZIP file SomeProgram.exe contains errors or has unknown format, cannot change!".