Error when packing to SFX - better error message

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Error when packing to SFX - better error message

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post 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!".
Post Reply