Ethereal-dev: [Ethereal-dev] new compression mechanism for nsis installer

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Mon, 02 Feb 2004 17:54:08 +0100
Hello,

the latest nsis releases contain a new additional compression mechanism:
Lzma

Lzma's compression is stronger than bzip2's which is used by nsis by default. There is a big impact on ethereal's nsis installer's size.
Lzma reduces the size from about 13.5 MB to 9.3 MB .

Attached patch activates Lzma in nsis.

The current nsis-script for ethereal and this patch require at least nsis-rc1. nsis-rc3 is the most recent version on the nsis website, rc4 is already available on sourceforge.

Best regards,

Lars Roland
Index: ethereal.nsi
===================================================================
RCS file: /cvsroot/ethereal/packaging/nsis/ethereal.nsi,v
retrieving revision 1.41
diff -u -r1.41 ethereal.nsi
--- ethereal.nsi	1 Feb 2004 03:35:05 -0000	1.41
+++ ethereal.nsi	2 Feb 2004 16:22:50 -0000
@@ -3,6 +3,10 @@
 ;
 ; $Id: ethereal.nsi,v 1.41 2004/02/01 03:35:05 guy Exp $
 
+; Set the compression mechanism first
+
+SetCompressor lzma
+
 ; ============================================================================
 ; Header configuration
 ; ============================================================================