From 60105c93260f84a8ea5d77d10eef8d20b0464e7f Mon Sep 17 00:00:00 2001 From: Rajendra Singh Date: Mon, 15 Aug 2016 14:40:18 +0530 Subject: [PATCH] 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%. --- PowerEditor/installer/nppSetup.nsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PowerEditor/installer/nppSetup.nsi b/PowerEditor/installer/nppSetup.nsi index 7c26be24..cf15e365 100644 --- a/PowerEditor/installer/nppSetup.nsi +++ b/PowerEditor/installer/nppSetup.nsi @@ -32,6 +32,8 @@ !include "nsDialogs.nsh" ; allows creation of custom pages in the installer !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 APPNAME "Notepad++"