[Libreoffice-commits] .: setup_native/source

Kalman "" Szalai kami911 at kemper.freedesktop.org
Tue Mar 1 16:30:04 PST 2011


 setup_native/source/win32/nsis/downloadtemplate.nsi |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 03b720f9be65745ce3ec8115f733e792f03c5814
Author: Kalman Szalai - KAMI <kami911 at gmail.com>
Date:   Wed Mar 2 01:30:04 2011 +0100

    Refine compression of Windows installer
    
    I increased the efficiency of LZM compression of makecab. I found that we can use .Set CompressionMemory=21 setting. This setting produces 83,91% of original installer size and if we combine it with a simple zip compression the download size can reduce to 83,54%.
    
    Reference:
    http://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg07068.html

diff --git a/setup_native/source/win32/nsis/downloadtemplate.nsi b/setup_native/source/win32/nsis/downloadtemplate.nsi
index 226c3ca..6484ef9 100644
--- a/setup_native/source/win32/nsis/downloadtemplate.nsi
+++ b/setup_native/source/win32/nsis/downloadtemplate.nsi
@@ -3,8 +3,9 @@
 !define PRODUCT_PUBLISHER "PUBLISHERPLACEHOLDER"
 !define PRODUCT_WEB_SITE "WEBSITEPLACEHOLDER"
 
-SetCompressor lzma
-; SetCompressor zlib
+SetCompressor zlib
+SetDatablockOptimize On
+
 ; Helpful for debugging, disable for products
 ; RequestExecutionLevel user
 


More information about the Libreoffice-commits mailing list