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
16 # make it a Unicode installer
20 !define SETUPTYPE BUNDLE
23 # installer settings like version numbers
26 # declarations of LyX's registry keys and installer variant
27 !include include\declarations.nsh
29 # definitions of global variables
30 !include include\variables.nsh
32 # configuration of standard NSIS header files
33 !include include\nsis.nsh
35 # list of files to be included in the installer
36 !include include\filelist.nsh
38 # detect third-party programs like Inkscape and LaTeX
39 !include include\detection.nsh
41 # set up the installer pages
42 !include include\gui.nsh
44 # sets the install sections and checks the system on starting the un/installer
45 !include include\init.nsh
47 # install LyX and needed third-party programs like Python etc.
48 !include setup\install.nsh
50 # loads a function to modify Windows environment variables
51 !include include\EnvVarUpdate.nsh
53 # uninstall LyX and all programs that were installed together with LyX
54 !include setup\uninstall.nsh
56 # configure LyX (set start menu and write registry entries)
57 !include setup\configure.nsh
59 # provides downloads of external programs
60 #!include gui\external.nsh
62 #--------------------------------
65 Outfile "${SETUP_EXE}"