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
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
42 !include include\init.nsh
44 # install LyX and needed third-party programs like Python etc.
45 !include setup\install.nsh
47 # uninstall LyX and all programs that were installed together with LyX
48 !include setup\uninstall.nsh
50 # configure LyX (set start menu and write registry entries)
51 !include setup\configure.nsh
54 !include gui\external.nsh
57 !include gui\reinstall.nsh
59 #--------------------------------
62 Outfile "${SETUP_EXE}"