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
2016-02-08 23:31:57 +00:00
!define APP_VERSION_MINOR 2
2016-10-13 22:36:28 +00:00
!define APP_VERSION_REVISION 2
2016-05-29 21:57:37 +00:00
!define APP_VERSION_EMERGENCY "" # use "1" for an emergency release of LyX otherwise ""
!define APP_EMERGENCY_DOT "" # use "." for an emergency release of LyX otherwise ""
2016-10-13 22:36:28 +00:00
!define APP_VERSION_BUILD 2 # Start with 1 for the installer releases of each version
2010-11-18 19:50:29 +00:00
2013-01-03 01:46:48 +00:00
!define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # Version to display
2010-11-18 19:50:29 +00:00
2016-05-30 23:25:07 +00:00
!define COPYRIGHT_YEAR 2016
2010-11-18 19:50:29 +00:00
#--------------------------------
# Installer file name
2016-04-03 16:30:54 +00:00
# Typical names for the release are "LyX-211-Installer-1.exe" etc.
2010-11-18 19:50:29 +00:00
!ifndef ExeFile
2013-01-03 01:46:48 +00:00
!define ExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Installer-${APP_VERSION_BUILD}.exe"
2010-11-18 19:50:29 +00:00
!endif
!ifndef BundleExeFile
2013-01-03 01:46:48 +00:00
!define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Bundle-${APP_VERSION_BUILD}.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
2016-02-08 23:31:57 +00:00
!define FILES_LYX "D:\LyXPackage2.2\LyX"
2016-06-09 00:14:28 +00:00
!define FILES_DEPS "D:\LyXGit\Master\lyx-windows-deps-msvc2015"
2016-10-13 22:36:28 +00:00
!define FILES_QT "C:\Qt\Qt5.6.2-MSVC-2015\5.6\msvc2015"
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
#--------------------------------
2016-02-08 23:31:57 +00:00
# MiKTeX and JabRef
2010-11-18 19:50:29 +00:00
2016-05-29 21:57:37 +00:00
!define MiKTeXRepo "ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/"
2011-05-23 04:12:10 +00:00
2011-07-25 03:09:02 +00:00
!define MiKTeXDeliveredVersion "2.9"
2016-09-05 21:40:43 +00:00
!define ImageMagickVersion "7.0.3"
2011-07-25 03:09:02 +00:00
2011-05-23 04:12:10 +00:00
# definitions for the Complete installer
!if ${SETUPTYPE} == BUNDLE
2016-09-05 21:40:43 +00:00
!define JabRefInstall "external\JabRef_windows_3_6.exe"
!define SIZE_JABREF 26668 # size in KB
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6069.exe"
2011-05-23 04:12:10 +00:00
!endif