]> git.lyx.org Git - features.git/blob - development/Win32/packaging/installer/settings.nsh
installer: fix 2 things that went in my accidentally in last commit
[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 0
14 !define APP_VERSION_REVISION 0
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
37 !define FILES_LYX "D:\LyXPackage2.0\LyX"
38 !define FILES_DEPS "D:\LyXSVN\LyX2.0.x\lyx-windows-deps-msvc2010"
39 !define FILES_BUNDLE "D:\LyX\depsbundle"
40 !define FILES_QT "D:\Qt"
41 !define ClassFileDir "${FILES_LYX}\Resources\tex"
42 !define DVIPostFileDir "${FILES_DEPS}\tex"
43
44 #--------------------------------
45 # MiKTeX
46 # Sizes in KB
47
48 !define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
49
50 # definitions for the Complete installer
51 !if ${SETUPTYPE} == BUNDLE
52  !define GSviewInstall "external\gsv49w32.exe"
53  !define JabRefInstall "external\JabRef-2.6-setup.exe"
54  !define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.4106.exe"
55  !define JabRefVersion "2.6"
56  !define MiKTeXDeliveredVersion "2.9"
57  !define SIZE_DOWNLOAD_LATEX 160106
58  !define SIZE_LATEX 380000
59 !endif
60