2 NSIS Script - LyX 2.3 Installer for Windows
3 Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
4 Compatible with NSIS 3.0
7 # Do a Cyclic Redundancy Check to make sure the installer
8 # was not corrupted by the download.
11 # Make the installer as small as possible.
12 SetCompressor /SOLID lzma
15 !define SETUPTYPE STANDARD
18 # installer settings like version numbers
21 # declarations of LyX's registry keys and installer variant
22 !include include\declarations.nsh
24 # definitions of global variables
25 !include include\variables.nsh
27 # configuration of standard NSIS header files
28 !include include\nsis.nsh
30 # list of files to be included in the installer
31 !include include\filelist.nsh
33 # detect third-party programs like Inkscape and LaTeX
34 !include include\detection.nsh
36 # set up the installer pages
37 !include include\gui.nsh
39 # sets the install sections and checks the system on starting the un/installer
40 !include include\init.nsh
42 # install LyX and needed third-party programs like Python etc.
43 !include setup\install.nsh
45 # loads a function to modify Windows environment variables
46 !include include\EnvVarUpdate.nsh
48 # uninstall LyX and all programs that were installed together with LyX
49 !include setup\uninstall.nsh
51 # configure LyX (set start menu and write registry entries)
52 !include setup\configure.nsh
55 # provides downloads of external programs
56 #!include gui\external.nsh
58 #--------------------------------
61 Outfile "${SETUP_EXE}"