-
Notifications
You must be signed in to change notification settings - Fork 1
/
lyx-standard.nsi
64 lines (44 loc) · 1.53 KB
/
lyx-standard.nsi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
NSIS Script - LyX 2.3 Installer for Windows
Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
Compatible with NSIS 3.0
*/
# Do a Cyclic Redundancy Check to make sure the installer
# was not corrupted by the download.
CRCCheck force
# make it a Unicode installer
Unicode true
# enable support for high DPI resolution
ManifestDPIAware true
!ifndef SETUPTYPE
!define SETUPTYPE STANDARD
!endif
# installer settings like version numbers
!include settings.nsh
# declarations of LyX's registry keys, installer variant and global variables
!include include\declarations.nsh
# configuration of standard NSIS header files
!include include\nsis.nsh
# list of files to be included in the installer
!include include\filelist.nsh
# detect third-party programs like Inkscape and LaTeX
!include include\detection.nsh
# set up the installer pages
!include include\gui.nsh
# sets the install sections and checks the system on starting the un/installer
!include include\init.nsh
# install LyX and needed third-party programs like Python etc.
!include setup\install.nsh
# loads a function to modify Windows environment variables
!include include\EnvVarUpdate.nsh
# uninstall LyX and all programs that were installed together with LyX
!include setup\uninstall.nsh
# configure LyX (set start menu and write registry entries)
!include setup\configure.nsh
# provides downloads of external programs
#!include gui\external.nsh
#--------------------------------
# Output file
Outfile "${SETUP_EXE}"
# sign the installer executable
!finalize 'signing.bat ${SETUP_EXE}'