]> git.lyx.org Git - features.git/blob - development/Win32/packaging/installer/settings.nsh
Consider inset strings in simple find/replaceAll (#12049)
[features.git] / development / Win32 / packaging / installer / settings.nsh
1 /*
2
3 Settings for LyX installer
4
5 These typically need to be modified for each LyX release
6
7 */
8
9 #--------------------------------
10 # Version number
11
12 !define APP_VERSION_MAJOR 2
13 !define APP_VERSION_MINOR 4
14 !define APP_VERSION_REVISION 0
15 !define APP_VERSION_EMERGENCY "dev" # use "1" for an emergency release of LyX otherwise ""
16 !define APP_EMERGENCY_DOT "" # use "." for an emergency release of LyX otherwise ""
17 !define APP_VERSION_BUILD 1 # Start with 1 for the installer releases of each version
18
19 # 32 or 64 bit, use build folder names and dependencies folder names containing "32" or "64" to use following constant in File locations declarations below
20 !define APP_VERSION_ACHITECHTURE 32
21
22 !define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # Version to display
23
24 !define COPYRIGHT_YEAR 2020
25
26 #--------------------------------
27 # Installer file name
28
29 # Typical names for the release are "LyX-232-Installer-1.exe" etc.
30
31 !ifndef ExeFile
32   !define ExeFile "${APP_NAME}-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Installer-${APP_VERSION_BUILD}-\
33   x${APP_VERSION_ACHITECHTURE}.exe"
34 !endif
35
36 #--------------------------------
37 # File locations
38 # !!! you need to adjust them to the folders in your Windows system !!!
39
40 !define FILES_BASE "C:\lyx"
41 !define FILES_GIT "${FILES_BASE}\master\development\Win32\packaging"
42 !define FILES_LYX "${FILES_BASE}\masterbuild${APP_VERSION_ACHITECHTURE}\LYX_INSTALLED"
43 !define FILES_DEPS "${FILES_BASE}\lyx-windows-deps-msvc2019_${APP_VERSION_ACHITECHTURE}"
44 !define FILES_QT "${FILES_BASE}\masterbuild${APP_VERSION_ACHITECHTURE}\LYX_INSTALLED"
45 !define ClassFileDir "${FILES_LYX}\Resources\tex"
46
47 #--------------------------------
48 # MiKTeX and JabRef
49
50 !define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
51
52 !define ImageMagickVersion "7.0.10"