2010-11-18 19:50:29 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
nsis.nsh
|
|
|
|
|
|
|
|
Configuration of standard NSIS header files
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#--------------------------------
|
|
|
|
# Multi-User settings
|
|
|
|
|
|
|
|
!define MULTIUSER_EXECUTIONLEVEL Highest
|
|
|
|
!define MULTIUSER_INSTALLMODE_COMMANDLINE
|
|
|
|
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "${APP_REGKEY}"
|
|
|
|
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME ""
|
|
|
|
|
|
|
|
!define MULTIUSER_INSTALLMODE_INSTDIR "${APP_DIR}"
|
|
|
|
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "${APP_REGKEY}"
|
|
|
|
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_VALUENAME ""
|
|
|
|
|
|
|
|
!define MULTIUSER_INSTALLMODE_FUNCTION InitUser
|
|
|
|
!define MULTIUSER_MUI
|
|
|
|
|
|
|
|
#--------------------------------
|
|
|
|
# Standard header files
|
|
|
|
|
|
|
|
!include MUI2.nsh
|
|
|
|
!include LogicLib.nsh
|
|
|
|
!include StrFunc.nsh
|
|
|
|
!include FileFunc.nsh
|
|
|
|
!include WordFunc.nsh
|
|
|
|
!include Sections.nsh
|
|
|
|
!include WinVer.nsh
|
|
|
|
!include LangFile.nsh
|
|
|
|
!include MultiUser.nsh
|
|
|
|
!include nsDialogs.nsh
|
2011-05-23 04:12:10 +00:00
|
|
|
!include InstallOptions.nsh
|
|
|
|
|
|
|
|
# Set of various macros and functions
|
|
|
|
!include include\LyXUtils.nsh
|
|
|
|
|
|
|
|
# Functions to check and configure the LaTeX-system
|
|
|
|
!include include\LaTeX.nsh
|
|
|
|
|
2011-12-21 01:12:43 +00:00
|
|
|
!if ${SETUPTYPE} != BUNDLE
|
|
|
|
# Function for page to manually select LaTeX's installation folder
|
|
|
|
!include gui\LaTeXFolder.nsh
|
|
|
|
!endif # end if != BUNDLE
|
2010-11-18 19:50:29 +00:00
|
|
|
|
2012-06-03 15:17:01 +00:00
|
|
|
# Functions download dictionaries
|
|
|
|
!include include\Thesaurus.nsh
|
|
|
|
|
2010-11-18 19:50:29 +00:00
|
|
|
#--------------------------------
|
|
|
|
# Include standard functions
|
|
|
|
|
|
|
|
!insertmacro RefreshShellIcons
|
|
|
|
!insertmacro WordFind2X
|