]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/include/declarations.nsh
2ffe6c3a7aa9974296802ee624b940ad26098cac
[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 PathLaTeXLocal
53 Var PathImageMagick
54 Var PathGhostscript
55
56 Var SetupLaTeX
57 Var SetupImageMagick
58 Var SetupGhostscript
59
60 Var SizeLaTeX
61 Var SizeImageMagick
62 Var SizeGhostscript
63
64 Var LangName
65 Var LangISOCode
66   
67 #--------------------------------
68 # Include standard functions
69
70 !insertmacro GetParent
71 !insertmacro VersionCompare
72 !insertmacro WordFind2X