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