Include zlib.dll in McMillan Installer

Harald Schneider h_schneider at marketmix.com
Fri Apr 12 02:51:39 EDT 2002


Hello Gordon,

at first my compliments for your Installer :)

> In ancient days (1.5.2), zlib.pyd loaded zlib.dll. But
> since then, zlib.pyd has changed to statically link in
> zlib, so zlib.dll should not be needed (in fact, it
> doesn't exist in the distribution).

I use the Activestate distribution of Python 2.1 It seems, that
here zlib.dll is still needed. It's located in \python\DLLs\zlib.dll

A view into the arhive says that zlib.pyd is included, but not the
dll:

[(0, 354059, 354059, 0, 'z', 'out1.pyz'),
 (354059, 20972, 20972, 0, 'm', 'iu'),
 (375031, 16264, 16264, 0, 'm', 'archive'),
 (391295, 192, 192, 2, 's', '_mountzlib'),
 (391487, 16, 16, 2, 's', 'useUnicode'),
 (391503, 1909, 1909, 2, 's', 'umsg_agent'),
 (393412, 19399, 57439, 1, 'b', 'win32api.pyd'),
 (412811, 10762, 28672, 1, 'b', '_imagingtk.pyd'
 (423573, 16074, 49236, 1, 'b', '_sre.pyd'),
 (439647, 123592, 278528, 1, 'b', '_imaging.pyd'
 (563239, 9219, 28760, 1, 'b', '_tkinter.pyd'),
 (572458, 23232, 61524, 1, 'b', 'zlib.pyd'),
 (595690, 10445, 32855, 1, 'b', '_socket.pyd'),
 (606135, 18777, 57344, 1, 'b', 'PyWinTypes21.dl
 (624912, 320031, 708696, 1, 'b', 'python21.dll'
 (944943, 388214, 950272, 1, 'b', 'tk83.dll'),
 (1333157, 244541, 483328, 1, 'b', 'tcl83.dll'),
 (1577698, 45250, 96528, 1, 'b', 'IMM32.dll')]

All the best,
Harald Schneider

>
> Installer will always include zlib[.pyd/.so], unless
> your installation doesn't have it, or you turn it off
> by editting config.dat. Windows comes with zlib.pyd,
> so I expect it's there (you can check with ArchiveViewer.py
> to see if it's in the exe).
>
> So more details are needed.
>
> -- Gordon
> http:/www.mcmillan-inc.com/
>
>





More information about the Python-list mailing list