]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/include/declarations.nsh
594f8b1d6d15f35defb8d6a59ee92e0b554bfc59
[lyx.git] / development / Win32 / packaging / installer / include / declarations.nsh
1 /*
2
3 declarations.nsh
4
5 Standard header files, shared variables 
6
7 */
8
9 #--------------------------------
10 # Defines based on settings
11
12 !ifndef SETUPTYPE_BUNDLE
13   !define SETUPTYPE_NAME DOWNLOAD
14 !else
15   !define SETUPTYPE_NAME INSTALL
16 !endif
17
18 #--------------------------------
19 # Multi-User settings
20
21 !define MULTIUSER_EXECUTIONLEVEL Highest
22 !define MULTIUSER_INSTALLMODE_COMMANDLINE
23 !define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "${APP_REGKEY}"
24 !define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME ""
25 !define MULTIUSER_INSTALLMODE_FUNCTION InitUser
26 !define MULTIUSER_MUI
27
28 #--------------------------------
29 # Standard header files
30
31 !include MUI2.nsh
32 !include LogicLib.nsh
33 !include StrFunc.nsh
34 !include FileFunc.nsh
35 !include WordFunc.nsh
36 !include Sections.nsh
37 !include WinVer.nsh
38 !include LangFile.nsh
39 !include MultiUser.nsh
40 !include nsDialogs.nsh
41
42 #--------------------------------
43 # Windows constants
44
45 !define SHCNE_ASSOCCHANGED 0x08000000
46 !define SHCNF_IDLIST 0x0000
47
48 #--------------------------------
49 # Variables
50
51 Var PathLaTeX
52 Var PathImageMagick
53 Var PathGhostscript
54
55 Var SetupLaTeX
56 Var SetupImageMagick
57 Var SetupGhostscript
58
59 Var SizeLaTeX
60 Var SizeImageMagick
61 Var SizeGhostscript
62
63 Var LangName
64 Var LangISOCode
65   
66 #--------------------------------
67 # Include standard functions
68
69 !insertmacro GetParent
70 !insertmacro VersionCompare
71 !insertmacro WordFind2X