From 52f5b88873c44486157cfb6127598e92f909172e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 6 Mar 2016 16:14:46 +0100 Subject: [PATCH] Windows Installer: declare files to be reserved for faster startup This tells NSIS to place the necessary libraries at the beginning of the packed installer so the installer does not need to extract everything before it can start. --- geany.nsi.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/geany.nsi.in b/geany.nsi.in index d6a67459e..3c67d027f 100644 --- a/geany.nsi.in +++ b/geany.nsi.in @@ -77,6 +77,12 @@ Var UNINSTDIR ;;;;;;;;;;;;;;;; !include "MUI2.nsh" +;Reserve files used in .onInit, for faster start-up +ReserveFile "${NSISDIR}\Plugins\System.dll" +ReserveFile "${NSISDIR}\Plugins\UserInfo.dll" +ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" +ReserveFile "${NSISDIR}\Plugins\LangDLL.dll" + !define MUI_ABORTWARNING !define MUI_ICON "icons\geany.ico" !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall-full.ico" -- 2.11.4.GIT