Reduce the installer size by 30~35%

Closes #2175
As of now npp installer is not using any compression to reduce the installer size. I don't know if there is any history behind not using any compression algorithm.

But I noticed a reasonable difference after using /SOLID lzma compression technique. It reduces the installer size by 30~35%.
If we uses /FINAL lzma, it is improved by 15~18%.
This commit is contained in:
Rajendra Singh 2016-08-15 14:40:18 +05:30 committed by Don Ho
parent f3abc30c7a
commit 60105c9326

View File

@ -32,6 +32,8 @@
!include "nsDialogs.nsh" ; allows creation of custom pages in the installer !include "nsDialogs.nsh" ; allows creation of custom pages in the installer
!include "Memento.nsh" ; remember user selections in the installer across runs !include "Memento.nsh" ; remember user selections in the installer across runs
SetCompressor /SOLID lzma ; This reduces installer size by approx 30~35%
;SetCompressor /FINAL lzma ; This reduces installer size by approx 15~18%,
; Define the application name ; Define the application name
!define APPNAME "Notepad++" !define APPNAME "Notepad++"