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