3 NSIS Script - LyX 2.0 Installer for Win32
4 Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
5 Compatible with NSIS 2.46
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 # installer settings like version numbers
19 # declarations of LyX's registry keys and installer variant
20 !include include\declarations.nsh
22 # definitions of global variables
23 !include include\variables.nsh
25 # configuration of standard NSIS header files
26 !include include\nsis.nsh
28 # list of files to be included in the installer
29 !include include\filelist.nsh
31 # detect third-party programs like Inkscape and LaTeX
32 !include include\detection.nsh
34 # set up the installer pages
35 !include include\gui.nsh
37 # sets the install sections and checks the system on starting the un/installer
38 !include include\init.nsh
40 # install LyX and needed third-party programs like Python etc.
41 !include setup\install.nsh
43 # uninstall LyX and all programs that were installed together with LyX
44 !include setup\uninstall.nsh
46 # configure LyX (set start menu and write registry entries)
47 !include setup\configure.nsh
49 # provides downloads of external programs
50 #!include gui\external.nsh
52 #--------------------------------
55 Outfile "${SETUP_EXE}"