3 NSIS Script - LyX 2.3 Installer for Windows
4 Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
5 Compatible with NSIS 3.0
9 # Do a Cyclic Redundancy Check to make sure the installer
10 # was not corrupted by the download.
13 # Make the installer as small as possible.
14 SetCompressor /SOLID lzma
17 !define SETUPTYPE BUNDLE
20 # installer settings like version numbers
23 # declarations of LyX's registry keys and installer variant
24 !include include\declarations.nsh
26 # definitions of global variables
27 !include include\variables.nsh
29 # configuration of standard NSIS header files
30 !include include\nsis.nsh
32 # list of files to be included in the installer
33 !include include\filelist.nsh
35 # detect third-party programs like Inkscape and LaTeX
36 !include include\detection.nsh
38 # set up the installer pages
39 !include include\gui.nsh
41 # sets the install sections and checks the system on starting the un/installer
42 !include include\init.nsh
44 # install LyX and needed third-party programs like Python etc.
45 !include setup\install.nsh
47 # loads a function to modify Windows environment variables
48 !include include\EnvVarUpdate.nsh
50 # uninstall LyX and all programs that were installed together with LyX
51 !include setup\uninstall.nsh
53 # configure LyX (set start menu and write registry entries)
54 !include setup\configure.nsh
56 # provides downloads of external programs
57 #!include gui\external.nsh
59 #--------------------------------
62 Outfile "${SETUP_EXE}"