]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/settings.nsh
Win installer: new Russian translations thanks to Yuriy
[lyx.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 3
14 !define APP_VERSION_REVISION 0
15 !define APP_VERSION_EMERGENCY "RC-1" # 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 8 # Start with 1 for the installer releases of each version
18
19 !define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # Version to display
20
21 !define COPYRIGHT_YEAR 2017
22
23 #--------------------------------
24 # Installer file name
25
26 # Typical names for the release are "LyX-211-Installer-1.exe" etc.
27
28 !ifndef ExeFile
29   !define ExeFile "${APP_NAME}-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Installer-${APP_VERSION_BUILD}.exe"
30 !endif
31 !ifndef BundleExeFile
32   !define BundleExeFile "${APP_NAME}-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Bundle-${APP_VERSION_BUILD}.exe"
33 !endif
34
35 #--------------------------------
36 # File locations
37 # !!! you need to adjust them to the folders in your Windows system !!!
38
39 !define FILES_LYX "D:\LyXPackage2.3\LyX"
40 !define FILES_DEPS "D:\LyXGit\Master\lyx-windows-deps-msvc2015"
41 !define FILES_QT "C:\Qt\Qt5.9.3\5.9.3\msvc2015"
42 !define ClassFileDir "${FILES_LYX}\Resources\tex"
43 !define DVIPostFileDir "${FILES_DEPS}\tex"
44
45 #--------------------------------
46 # MiKTeX and JabRef
47
48 !define MiKTeXRepo "ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/"
49
50 !define MiKTeXDeliveredVersion "2.9"
51 !define ImageMagickVersion "7.0.7"
52  
53 # definitions for the Complete installer
54 !if ${SETUPTYPE} == BUNDLE
55  !define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6520.exe"
56 !endif
57