]> git.lyx.org Git - features.git/blob - development/Win32/packaging/installer/include/nsis.nsh
0a6585d490ebf27b07108408c210cecf4d4b88cb
[features.git] / development / Win32 / packaging / installer / include / nsis.nsh
1 /*
2
3 nsis.nsh
4
5 Configuration of standard NSIS header files
6
7 */
8
9 #--------------------------------
10 # Multi-User settings
11
12 !define MULTIUSER_EXECUTIONLEVEL Highest
13 !define MULTIUSER_INSTALLMODE_COMMANDLINE
14 !define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "${APP_REGKEY}"
15 !define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME ""
16
17 !define MULTIUSER_INSTALLMODE_INSTDIR "${APP_DIR}"
18 !define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "${APP_REGKEY}"
19 !define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_VALUENAME ""
20
21 !define MULTIUSER_INSTALLMODE_FUNCTION InitUser
22 !define MULTIUSER_MUI
23
24 #--------------------------------
25 # Standard header files
26
27 !include MUI2.nsh
28 !include LogicLib.nsh
29 !include StrFunc.nsh
30 !include FileFunc.nsh
31 !include WordFunc.nsh
32 !include Sections.nsh
33 !include WinVer.nsh
34 !include LangFile.nsh
35 !include MultiUser.nsh
36 !include nsDialogs.nsh
37 !include InstallOptions.nsh
38 !include x64.nsh
39
40 # Set of various macros and functions
41 !include include\LyXUtils.nsh
42
43 # Functions to check and configure the LaTeX-system
44 !include include\LaTeX.nsh
45
46 !if ${SETUPTYPE} != BUNDLE
47  # Function for page to manually select LaTeX's installation folder
48  !include gui\LaTeXFolder.nsh
49 !endif # end if != BUNDLE
50
51 # Functions to download spell-checker and thesaurus dictionaries
52 !include include\dictionaries.nsh
53
54 #--------------------------------
55 # Include standard functions
56
57 !insertmacro RefreshShellIcons
58 !insertmacro WordFind2X