2010-11-18 19:50:29 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
Settings for LyX installer
|
|
|
|
|
|
|
|
These typically need to be modified for each LyX release
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#--------------------------------
|
|
|
|
# Version number
|
|
|
|
|
2011-02-17 17:02:10 +00:00
|
|
|
!define APP_VERSION_MAJOR 2
|
|
|
|
!define APP_VERSION_MINOR 0
|
2010-11-18 19:50:29 +00:00
|
|
|
!define APP_VERSION_REVISION 0
|
2011-05-23 04:12:10 +00:00
|
|
|
!define APP_VERSION_BUILD 4 # Start with 1 for the installer releases of each version
|
2010-11-18 19:50:29 +00:00
|
|
|
|
2011-05-23 04:12:10 +00:00
|
|
|
!define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}" # Version to display
|
2010-11-18 19:50:29 +00:00
|
|
|
|
|
|
|
#--------------------------------
|
|
|
|
# Installer file name
|
|
|
|
|
2011-05-23 04:12:10 +00:00
|
|
|
# Typical names for the release are "LyX-201-1-Installer.exe" etc.
|
2010-11-18 19:50:29 +00:00
|
|
|
|
|
|
|
!ifndef ExeFile
|
2011-05-23 04:12:10 +00:00
|
|
|
!define ExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}-${APP_VERSION_BUILD}-Installer.exe"
|
2010-11-18 19:50:29 +00:00
|
|
|
!endif
|
|
|
|
!ifndef BundleExeFile
|
2011-05-23 04:12:10 +00:00
|
|
|
!define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}-${APP_VERSION_BUILD}-Bundle.exe"
|
2010-11-18 19:50:29 +00:00
|
|
|
!endif
|
|
|
|
!ifndef MinimalExeFile
|
|
|
|
!define /date MinimalExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Minimal.exe"
|
|
|
|
!endif
|
|
|
|
|
2011-02-17 19:14:18 +00:00
|
|
|
#--------------------------------
|
|
|
|
# File locations
|
2011-06-08 16:57:52 +00:00
|
|
|
# !!! you need to adjust them to the folders in your Windows system !!!
|
2011-02-17 19:14:18 +00:00
|
|
|
|
2011-06-08 16:57:52 +00:00
|
|
|
!define FILES_LYX "C:\LyX\lyx-20-install"
|
|
|
|
!define FILES_DEPS "C:\LyX\lyx-20-build\msvc2010-deps\deps20"
|
|
|
|
!define FILES_BUNDLE "C:\LyX\depsbundle"
|
|
|
|
!define FILES_QT "C:\Qt\qt-everywhere-opensource-src-4.7.1"
|
2011-05-23 04:12:10 +00:00
|
|
|
!define ClassFileDir "${FILES_LYX}\Resources\tex"
|
|
|
|
!define DVIPostFileDir "${FILES_DEPS}\tex"
|
2011-02-17 19:14:18 +00:00
|
|
|
|
2010-11-18 19:50:29 +00:00
|
|
|
#--------------------------------
|
2011-02-17 17:02:10 +00:00
|
|
|
# MiKTeX
|
|
|
|
# Sizes in KB
|
2010-11-18 19:50:29 +00:00
|
|
|
|
2011-05-23 04:12:10 +00:00
|
|
|
!define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
|
|
|
|
|
|
|
|
# definitions for the Complete installer
|
|
|
|
!if ${SETUPTYPE} == BUNDLE
|
|
|
|
!define JabRefInstall "external\JabRef-2.6-setup.exe"
|
|
|
|
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.4106.exe"
|
|
|
|
!define JabRefVersion "2.6"
|
|
|
|
!define MiKTeXDeliveredVersion "2.9"
|
|
|
|
!define SIZE_DOWNLOAD_LATEX 160106
|
|
|
|
!define SIZE_LATEX 380000
|
|
|
|
!endif
|
|
|
|
|