mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-15 01:41:43 +00:00
407e829bc7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24456 a592a061-630c-0410-9148-cb99ea01b6c8
80 lines
1.5 KiB
Plaintext
80 lines
1.5 KiB
Plaintext
/*
|
|
|
|
declarations.nsh
|
|
|
|
Standard header files, shared variables
|
|
|
|
*/
|
|
|
|
#--------------------------------
|
|
# Defines based on settings
|
|
|
|
!ifndef SETUPTYPE_BUNDLE
|
|
!define SETUPTYPE_NAME DOWNLOAD
|
|
!else
|
|
!define SETUPTYPE_NAME INSTALL
|
|
!endif
|
|
|
|
#--------------------------------
|
|
# 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
|
|
|
|
#--------------------------------
|
|
# Windows constants
|
|
|
|
!define SHCNE_ASSOCCHANGED 0x08000000
|
|
!define SHCNF_IDLIST 0x0000
|
|
|
|
#--------------------------------
|
|
# Variables
|
|
|
|
Var PathLaTeX
|
|
Var PathLaTeXLocal
|
|
Var PathImageMagick
|
|
Var PathGhostscript
|
|
|
|
Var SetupLaTeX
|
|
Var SetupImageMagick
|
|
Var SetupGhostscript
|
|
|
|
Var SizeLaTeX
|
|
Var SizeImageMagick
|
|
Var SizeGhostscript
|
|
|
|
Var LangName
|
|
Var LangISOCode
|
|
|
|
Var PrinterConf
|
|
|
|
#--------------------------------
|
|
# Include standard functions
|
|
|
|
!insertmacro GetParent
|
|
!insertmacro VersionCompare
|
|
!insertmacro WordFind2X
|