From cd29377b1565e8374a56bbd25f8001963596ed1c Mon Sep 17 00:00:00 2001 From: david Date: Wed, 30 Jun 2010 14:55:12 +0000 Subject: [PATCH] Use lzma whole-file compression in the Windows installer, instead of the default zlib. The lzma-compressed installer is 15% smaller than the zlib one. See http://seclists.org/nmap-dev/2010/q2/1011 for test results. --- mswin32/nsis/Nmap.nsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mswin32/nsis/Nmap.nsi b/mswin32/nsis/Nmap.nsi index 8244672a2..032da4980 100644 --- a/mswin32/nsis/Nmap.nsi +++ b/mswin32/nsis/Nmap.nsi @@ -20,6 +20,10 @@ ;; contain any quotes, even if the path contains spaces. Only absolute ;; paths are supported. +; The default compressor is zlib; lzma gives about 15% better compression. +; http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.2.4 +SetCompressor /SOLID /FINAL lzma + ;-------------------------------- ;Include Modern UI