]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/settings.nsh
installer: release new installer version
[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 0
14 !define APP_VERSION_REVISION 5
15 !define APP_VERSION_EMERGENCY "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 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 #--------------------------------
22 # Installer file name
23
24 # Typical names for the release are "LyX-201-Installer-1.exe" etc.
25
26 !ifndef ExeFile
27   !define ExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Installer-${APP_VERSION_BUILD}.exe"
28 !endif
29 !ifndef BundleExeFile
30   !define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Bundle-${APP_VERSION_BUILD}.exe"
31 !endif
32 !ifndef MinimalExeFile
33   !define /date MinimalExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Minimal.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_LYX "C:\LyX\LyXPackage\LyX"
41 !define FILES_DEPS "C:\LyX\LyX2.0x\lyx-windows-deps-msvc2008"
42 !define FILES_QT "C:\LyX\LyXPackage\LyX"
43 !define ClassFileDir "${FILES_LYX}\Resources\tex"
44 !define DVIPostFileDir "${FILES_DEPS}\tex"
45
46 #--------------------------------
47 # MiKTeX
48 # Sizes in KB
49
50 # it seems that some companies block ftp access by default, therefore http access is preferred here
51 !define MiKTeXRepo "http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/"
52 #!define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
53
54 !define JabRefVersion "2.9.2"
55 !define MiKTeXDeliveredVersion "2.9"
56 !define ImageMagickVersion "6.8.0"
57  
58 # definitions for the Complete installer
59 !if ${SETUPTYPE} == BUNDLE
60  !define JabRefInstall "external\JabRef-2.9.2-setup.exe"
61  !define SIZE_JABREF 14100
62  !define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.4757.exe"
63 !endif
64