Anyone know how to produce a win16 pkzip self-extractor?

Dan Kegel dank at kegel.com
Mon Dec 24 11:13:10 CST 2007


To look into
http://bugs.winehq.org/show_bug.cgi?id=3620
I wanted to create a 16 bit self-extracting archive.

So I downloaded
ftp://ftp.pkware.com/pk263w16.exe
and followed the instructions in Help for creating a windows self-extractor.
Sadly, 'file' on the resulting .exe says it's just a zip file.

The help file says you can convert a .zip to a .exe
using File / Convert, but that crashes with
Unhandled exception: page fault on read access to 0xffffffff in 16-bit
code (12e7:be9a).
deep inside pkzip.

So I tried the 32 bit version, which according to
http://www.ecn.wfu.edu/~cottrell/pkzip.html#sfx can
do it cross-platform.

But when I tried
http://www.filegate.net/pkware/pkwin32/pk250c32.exe
with
wine PKZIP25.EXE -add -sfx=win16 test *.TXT
it said
PKZIP: (E5) Unknown or illegal sub-option - sfx=win16
which, I think, means you have to be using a registered copy
to do cross-platform self-extractors.

I also tried the DOS version, and that just hung (grumble).

Anyone figured out a way to do this yet?

I filed a bug for a console problem related to pkzip,
http://bugs.winehq.org/show_bug.cgi?id=10884
but not the crash yet.
Perhaps the failure to create a real self-extractor
is another bug, I haven't tried on windows xp yet.
- Dan



More information about the wine-devel mailing list