lyx_mirror/development/Win32/packaging/installer/settings.nsh

61 lines
1.8 KiB
Plaintext
Raw Normal View History

/*
Settings for LyX installer
These typically need to be modified for each LyX release
*/
#--------------------------------
# Version number
!define APP_VERSION_MAJOR 2
!define APP_VERSION_MINOR 0
!define APP_VERSION_REVISION 0
!define APP_VERSION_BUILD 4 # Start with 1 for the installer releases of each version
!define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}" # Version to display
#--------------------------------
# Installer file name
# Typical names for the release are "LyX-201-1-Installer.exe" etc.
!ifndef ExeFile
!define ExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}-${APP_VERSION_BUILD}-Installer.exe"
!endif
!ifndef BundleExeFile
!define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}-${APP_VERSION_BUILD}-Bundle.exe"
!endif
!ifndef MinimalExeFile
!define /date MinimalExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Minimal.exe"
!endif
#--------------------------------
# File locations
!define FILES_LYX "D:\LyXPackage2.0\LyX"
!define FILES_DEPS "D:\LyXSVN\LyX2.0.x\lyx-windows-deps-msvc2010"
!define FILES_BUNDLE "D:\LyX\depsbundle"
!define FILES_QT "D:\Qt"
!define ClassFileDir "${FILES_LYX}\Resources\tex"
!define DVIPostFileDir "${FILES_DEPS}\tex"
#--------------------------------
# MiKTeX
# Sizes in KB
!define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
# definitions for the Complete installer
!if ${SETUPTYPE} == BUNDLE
!define GSviewInstall "external\gsv49w32.exe"
!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