summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalman Szalai - KAMI <kami911@gmail.com>2011-03-02 01:30:04 +0100
committerKalman Szalai - KAMI <kami911@gmail.com>2011-03-02 01:30:04 +0100
commit46cf22cd1bd5bb81e12c5a9e35f19d862bdc3da4 (patch)
tree21a56c59e6925b52ca44fa1ce0e7ac2bc8abff02
parenta64e5e3cf5a4c167d339477508a2428179d0a2be (diff)
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
-rw-r--r--setup_native/source/win32/nsis/downloadtemplate.nsi5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup_native/source/win32/nsis/downloadtemplate.nsi b/setup_native/source/win32/nsis/downloadtemplate.nsi
index 226c3cacf5ba..6484ef901e50 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