]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/settings.nsh
df7cb4d6c35f1dbfc4e013ed46f3a4811fa10bbe
[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 2
15 !define APP_VERSION_BUILD 4 # Start with 1 for the installer releases of each version
16
17 !define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}" # Version to display
18
19 #--------------------------------
20 # Installer file name
21
22 # Typical names for the release are "LyX-201-1-Installer.exe" etc.
23
24 !ifndef ExeFile
25   !define ExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}-${APP_VERSION_BUILD}-Installer.exe"
26 !endif
27 !ifndef BundleExeFile
28   !define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}-${APP_VERSION_BUILD}-Bundle.exe"
29 !endif
30 !ifndef MinimalExeFile
31   !define /date MinimalExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Minimal.exe"
32 !endif
33
34 #--------------------------------
35 # File locations
36 # !!! you need to adjust them to the folders in your Windows system !!!
37
38 !define FILES_LYX "C:\LyX\lyx-20-install"
39 !define FILES_DEPS "C:\LyX\lyx-20-build\msvc2010-deps\deps20"
40 !define FILES_BUNDLE "C:\LyX\depsbundle"
41 !define FILES_QT "C:\Qt\qt-everywhere-opensource-src-4.7.3"
42 !define ClassFileDir "${FILES_LYX}\Resources\tex"
43 !define DVIPostFileDir "${FILES_DEPS}\tex"
44
45 #--------------------------------
46 # MiKTeX
47 # Sizes in KB
48
49 !define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
50
51 !define JabRefVersion "2.7"
52 !define MiKTeXDeliveredVersion "2.9"
53 !define ImageMagickVersion "6.7.4"
54  
55 # definitions for the Complete installer
56 !if ${SETUPTYPE} == BUNDLE
57  !define JabRefInstall "external\JabRef-2.7-setup.exe"
58  !define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.4250.exe"
59  !define SIZE_DOWNLOAD_LATEX 160106
60  !define SIZE_LATEX 380000
61 !endif
62