Package: nsis
Version: 2.46-1
Severity: important

zlib compression does not work, i.e. it either truncates the
compressed file, or generate an error during installation.

Let be the following program, e.nsi:

OutFile toto.exe
Section f
  File gtk2-runtime-2.16.0-2009-03-22-ash.exe
SectionEnd

The gtk2...exe file is taken from:
http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/GTK%2B%202.16/gtk2-runtime-2.16.0-2009-03-22-ash.exe/download
and has about 6Mb.

Upon "makensis e.nsi", the toto.exe file is generated.

Now:
- if you execute toto.exe on a windows machine, then it generates a
  gtk2-runtime-2.16.0-2009-03-22-ash.exe file much smaller (96kB),
  which is not useful of course (it is truncated from the original)
- if you add "SetCompressor /SOLID zlib" at the beginning of e.nsi,
  and execute toto.exe generated, you receive error upon execution
  ("Archive corrupted")
- if you add instead "SetCompressor /SOLID lzma" (or bzip2 instead of
  lzma), everything works as expected.

So there is a problem with zlib compression.  I suppose this is due to
debian patch to use system's zlib instead of nsis' one.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nsis depends on:
ii lib32gcc1 1:4.4.3-9 GCC support library (32 bit Versio ii lib32stdc++6 4.4.3-9 The GNU Standard C++ Library v3 (3 ii lib32z1 1:1.2.3.4.dfsg-3 compression library - 32 bit runti ii libc6-i386 2.10.2-7 GNU C Library: 32-bit shared libra

nsis recommends no packages.

Versions of packages nsis suggests:
pn  gcc-mingw32                   <none>     (no description available)
pn  wine                          <none>     (no description available)

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to