]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/settings.nsh
f72614c6e4d1ff78d46a03931197c3448a56e3ac
[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 2
14 !define APP_VERSION_REVISION 2
15 !define APP_VERSION_EMERGENCY "" # 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 4 # 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 "LyX-${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 "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Bundle-${APP_VERSION_BUILD}.exe"
33 !endif
34 !ifndef MinimalExeFile
35   !define /date MinimalExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Minimal.exe"
36 !endif
37
38 #--------------------------------
39 # File locations
40 # !!! you need to adjust them to the folders in your Windows system !!!
41
42 !define FILES_LYX "D:\LyXPackage2.2\LyX"
43 !define FILES_DEPS "D:\LyXGit\Master\lyx-windows-deps-msvc2015"
44 !define FILES_QT "C:\Qt\Qt5.6.2-MSVC-2015\5.6\msvc2015"
45 !define ClassFileDir "${FILES_LYX}\Resources\tex"
46 !define DVIPostFileDir "${FILES_DEPS}\tex"
47
48 #--------------------------------
49 # MiKTeX and JabRef
50
51 !define MiKTeXRepo "ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/"
52
53 !define MiKTeXDeliveredVersion "2.9"
54 !define ImageMagickVersion "7.0.4"
55  
56 # definitions for the Complete installer
57 !if ${SETUPTYPE} == BUNDLE
58  !define JabRefInstall "external\JabRef_windows_3_8_1.exe"
59  !define SIZE_JABREF 36566 # size in KB 
60  !define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6219.exe"
61 !endif
62