lyx_mirror/development/Win32/packaging/installer/include/nsis.nsh
Uwe Stöhr 45b4bd1f0c installer: further work on dictionary handling and bugfixes
- remove the error-prone method of finding dictionaries by renaming some
- add new dictionaries for future LyX 2.1 (more to come)
- update and correct some dictionary sizes
- fix detection of the possible 64bit programs jedit, Gimp, GhostScript and GSview
- remove detection of old Vim version
2012-11-10 22:08:43 +01:00

59 lines
1.4 KiB
Plaintext

/*
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
!include InstallOptions.nsh
!include x64.nsh
# Set of various macros and functions
!include include\LyXUtils.nsh
# Functions to check and configure the LaTeX-system
!include include\LaTeX.nsh
!if ${SETUPTYPE} != BUNDLE
# Function for page to manually select LaTeX's installation folder
!include gui\LaTeXFolder.nsh
!endif # end if != BUNDLE
# Functions download dictionaries
!include include\Thesaurus.nsh
#--------------------------------
# Include standard functions
!insertmacro RefreshShellIcons
!insertmacro WordFind2X