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