From dd6c064ac30bd413f5274fa16204957f88f700c0 Mon Sep 17 00:00:00 2001 From: Mike DePaulo Date: Sun, 10 May 2015 00:31:42 -0400 Subject: Installers: switch to solid LZMA compression --- xorg-server/installer/vcxsrv-64-debug.nsi | 4 ++++ xorg-server/installer/vcxsrv-64.nsi | 3 +++ xorg-server/installer/vcxsrv-debug.nsi | 3 +++ xorg-server/installer/vcxsrv.nsi | 4 ++++ 4 files changed, 14 insertions(+) diff --git a/xorg-server/installer/vcxsrv-64-debug.nsi b/xorg-server/installer/vcxsrv-64-debug.nsi index 5ef81c637..84b5c0c85 100644 --- a/xorg-server/installer/vcxsrv-64-debug.nsi +++ b/xorg-server/installer/vcxsrv-64-debug.nsi @@ -29,6 +29,10 @@ OutFile "vcxsrv-64-debug.${VERSION}.x2go+arctica.installer.exe" ; The default installation directory InstallDir $PROGRAMFILES64\VcXsrv +; NSIS 2.46 defaults to zlib. +; Setting this reduces the size of a build from 7.0 to 4.6 MB (34%) +SetCompressor /SOLID lzma + ; Registry key to check for directory (so if you install again, it will ; overwrite the old one automatically) InstallDirRegKey HKLM SOFTWARE\VcXsrv "Install_Dir_64" diff --git a/xorg-server/installer/vcxsrv-64.nsi b/xorg-server/installer/vcxsrv-64.nsi index 3be506388..a839840ce 100644 --- a/xorg-server/installer/vcxsrv-64.nsi +++ b/xorg-server/installer/vcxsrv-64.nsi @@ -32,6 +32,9 @@ OutFile "vcxsrv-64.${VERSION}.x2go+arctica.installer.exe" ; The default installation directory InstallDir $programfiles64\VcXsrv +; NSIS 2.46 defaults to zlib. +SetCompressor /SOLID lzma + ; Registry key to check for directory (so if you install again, it will ; overwrite the old one automatically) InstallDirRegKey HKLM SOFTWARE\VcXsrv "Install_Dir_64" diff --git a/xorg-server/installer/vcxsrv-debug.nsi b/xorg-server/installer/vcxsrv-debug.nsi index 0c6bf49cd..94350ba50 100644 --- a/xorg-server/installer/vcxsrv-debug.nsi +++ b/xorg-server/installer/vcxsrv-debug.nsi @@ -29,6 +29,9 @@ OutFile "vcxsrv-debug.${VERSION}.x2go+arctica.installer.exe" ; The default installation directory InstallDir $PROGRAMFILES32\VcXsrv +; NSIS 2.46 defaults to zlib. +SetCompressor /SOLID lzma + ; Registry key to check for directory (so if you install again, it will ; overwrite the old one automatically) InstallDirRegKey HKLM SOFTWARE\VcXsrv "Install_Dir" diff --git a/xorg-server/installer/vcxsrv.nsi b/xorg-server/installer/vcxsrv.nsi index dd711f720..304550ea9 100644 --- a/xorg-server/installer/vcxsrv.nsi +++ b/xorg-server/installer/vcxsrv.nsi @@ -32,6 +32,10 @@ OutFile "vcxsrv.${VERSION}.x2go+arctica.installer.exe" ; The default installation directory InstallDir $PROGRAMFILES32\VcXsrv +; NSIS 2.46 defaults to zlib. +; Setting this reduces the size of a build from 43.5 to 37.8 MB (13%) +SetCompressor /SOLID lzma + ; Registry key to check for directory (so if you install again, it will ; overwrite the old one automatically) InstallDirRegKey HKLM SOFTWARE\VcXsrv "Install_Dir" -- cgit v1.2.3