]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/lyx.nsi
installer: bugfixes, code simplification and documentation
[lyx.git] / development / Win32 / packaging / installer / lyx.nsi
1 /*
2
3 NSIS Script - LyX 2.0 Installer for Win32
4 Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
5 Compatible with NSIS 2.46
6
7 */
8
9 # Do a Cyclic Redundancy Check to make sure the installer
10 # was not corrupted by the download.
11 CRCCheck force
12 #
13 # Make the installer as small as possible.
14 SetCompressor /SOLID lzma
15
16 # installer settings like version numbers
17 !include settings.nsh
18
19 # declarations of LyX's registry keys and installer variant
20 !include include\declarations.nsh
21
22 # definitions of global variables
23 !include include\variables.nsh
24
25 # configuration of standard NSIS header files
26 !include include\nsis.nsh
27
28 # list of files to be included in the installer
29 !include include\filelist.nsh
30
31 # detect third-party programs like Inkscape and LaTeX
32 !include include\detection.nsh
33
34 # set up the installer pages
35 !include include\gui.nsh
36
37 # sets the install sections and checks the system on starting the un/installer
38 !include include\init.nsh
39
40 # install LyX and needed third-party programs like Python etc.
41 !include setup\install.nsh
42
43 # uninstall LyX and all programs that were installed together with LyX
44 !include setup\uninstall.nsh
45
46 # configure LyX (set start menu and write registry entries)
47 !include setup\configure.nsh
48
49 # provides downloads of external programs
50 #!include gui\external.nsh
51
52 #--------------------------------
53 # Output file
54
55 Outfile "${SETUP_EXE}"