]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/lyx-standard.nsi
Wininstaller2: improved check if over installing
[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 # make it a Unicode installer
15 Unicode true
16
17 # enable support for high DPI resolution
18 ManifestDPIAware true
19
20 !ifndef SETUPTYPE
21  !define SETUPTYPE STANDARD
22 !endif
23
24 # installer settings like version numbers
25 !include settings.nsh
26
27 # declarations of LyX's registry keys and installer variant
28 !include include\declarations.nsh
29
30 # definitions of global variables
31 !include include\variables.nsh
32
33 # configuration of standard NSIS header files
34 !include include\nsis.nsh
35
36 # list of files to be included in the installer
37 !include include\filelist.nsh
38
39 # detect third-party programs like Inkscape and LaTeX
40 !include include\detection.nsh
41
42 # set up the installer pages
43 !include include\gui.nsh
44
45 # sets the install sections and checks the system on starting the un/installer
46 !include include\init.nsh
47
48 # install LyX and needed third-party programs like Python etc.
49 !include setup\install.nsh
50
51 # loads a function to modify Windows environment variables 
52 !include include\EnvVarUpdate.nsh
53
54 # uninstall LyX and all programs that were installed together with LyX
55 !include setup\uninstall.nsh
56
57 # configure LyX (set start menu and write registry entries)
58 !include setup\configure.nsh
59
60
61 # provides downloads of external programs
62 #!include gui\external.nsh
63
64 #--------------------------------
65 # Output file
66
67 Outfile "${SETUP_EXE}"