aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/nsis
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2023-09-08 10:28:22 -0700
committerGerald Combs <gerald@wireshark.org>2023-09-08 10:30:20 -0700
commit3a6848c901f8a300884b9accb7b38541923882b5 (patch)
tree2159c622629dbae81c5109608db3ca7aff78ae58 /packaging/nsis
parent6aa22b952d9611760a41a5f6be16db5886a2f0ab (diff)
Packaging: Increase our NSIS compressor dictionary size
NSIS 3.08 supports 128MB here, so use that.
Diffstat (limited to 'packaging/nsis')
-rw-r--r--packaging/nsis/logray.nsi8
-rw-r--r--packaging/nsis/wireshark.nsi8
2 files changed, 4 insertions, 12 deletions
diff --git a/packaging/nsis/logray.nsi b/packaging/nsis/logray.nsi
index 111fe9d7c1..6f1c97298e 100644
--- a/packaging/nsis/logray.nsi
+++ b/packaging/nsis/logray.nsi
@@ -2,13 +2,9 @@
; logray.nsi
;
-; Set the compression mechanism first.
-; As of NSIS 2.07, solid compression which makes installer about 1MB smaller
-; is no longer the default, so use the /SOLID switch.
-; This unfortunately is unknown to NSIS prior to 2.07 and creates an error.
-; So if you get an error here, please update to at least NSIS 2.07!
+; Set the compression options first.
SetCompressor /SOLID lzma
-SetCompressorDictSize 64 ; MB
+SetCompressorDictSize 128 ; MB
!include "logray-common.nsh"
!include 'LogicLib.nsh'
diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi
index 0a3ce0fd4c..51f39d29a9 100644
--- a/packaging/nsis/wireshark.nsi
+++ b/packaging/nsis/wireshark.nsi
@@ -2,13 +2,9 @@
; wireshark.nsi
;
-; Set the compression mechanism first.
-; As of NSIS 2.07, solid compression which makes installer about 1MB smaller
-; is no longer the default, so use the /SOLID switch.
-; This unfortunately is unknown to NSIS prior to 2.07 and creates an error.
-; So if you get an error here, please update to at least NSIS 2.07!
+; Set the compression options first.
SetCompressor /SOLID lzma
-SetCompressorDictSize 64 ; MB
+SetCompressorDictSize 128 ; MB
!include "wireshark-common.nsh"
!include 'LogicLib.nsh'