]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/lyx-bundle.nsi
installer: merge LyXWinInstaller with the new one, see my mail
[lyx.git] / development / Win32 / packaging / installer / lyx-bundle.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 !ifndef SETUPTYPE
17  !define SETUPTYPE BUNDLE
18 !endif
19
20 # installer settings like version numbers
21 !include settings.nsh
22
23 # declarations of LyX's registry keys and installer variant
24 !include include\declarations.nsh
25
26 # definitions of global variables
27 !include include\variables.nsh
28
29 # configuration of standard NSIS header files
30 !include include\nsis.nsh
31
32 # list of files to be included in the installer
33 !include include\filelist.nsh
34
35 # detect third-party programs like Inkscape and LaTeX
36 !include include\detection.nsh
37
38 # set up the installer pages
39 !include include\gui.nsh
40
41
42 !include include\init.nsh
43
44 # install LyX and needed third-party programs like Python etc.
45 !include setup\install.nsh
46
47 # uninstall LyX and all programs that were installed together with LyX
48 !include setup\uninstall.nsh
49
50 # configure LyX (set start menu and write registry entries)
51 !include setup\configure.nsh
52
53
54 !include gui\external.nsh
55
56
57 !include gui\reinstall.nsh
58
59 #--------------------------------
60 # Output file
61
62 Outfile "${SETUP_EXE}"