[geany/geany-plugins] f35068: Windows Installer: declare files to be reserved for faster startup

Enrico Tröger git-noreply at xxxxx
Sun Mar 6 12:02:21 UTC 2016


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 06 Mar 2016 12:02:21 UTC
Commit:      f3506870b20b83642a8517fe1639ac8ddab8bd77
             https://github.com/geany/geany-plugins/commit/f3506870b20b83642a8517fe1639ac8ddab8bd77

Log Message:
-----------
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.


Modified Paths:
--------------
    build/geany-plugins.nsi

Modified: build/geany-plugins.nsi
6 lines changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -68,6 +68,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
 ; FIXME hard-coded path...should we add geany.ico to the geany-plugins repo?
 !define MUI_ICON "..\geany\icons\geany.ico"



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list