mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
22cfcab074
- LaTeX.nsh: fix bug that installer stopped working if LyX was installed the first time on a computer - init.nsh: - fix failing installation of Slovakian spellcheck dictionary - expand list of available dictionaries as requested by users - dictionaries.nsh: prevent case that the installer could run an infinite loop if the installation of dictionaries was interrupted - settings.nsh: use a HTTP repository for MiKTeX instead of FTP because many companies deny FTP access by default in their firewalls
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
/*
|
|
|
|
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 5
|
|
!define APP_VERSION_BUILD 5 # 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-Installer-1.exe" etc.
|
|
|
|
!ifndef ExeFile
|
|
!define ExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}-Installer-${APP_VERSION_BUILD}.exe"
|
|
!endif
|
|
!ifndef BundleExeFile
|
|
!define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}-Bundle-${APP_VERSION_BUILD}.exe"
|
|
!endif
|
|
!ifndef MinimalExeFile
|
|
!define /date MinimalExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Minimal.exe"
|
|
!endif
|
|
|
|
#--------------------------------
|
|
# File locations
|
|
# !!! you need to adjust them to the folders in your Windows system !!!
|
|
|
|
!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.8.3"
|
|
!define ClassFileDir "${FILES_LYX}\Resources\tex"
|
|
!define DVIPostFileDir "${FILES_DEPS}\tex"
|
|
|
|
#--------------------------------
|
|
# MiKTeX
|
|
# Sizes in KB
|
|
|
|
# it seems that some companies block ftp access by default, therefore http access is preferred here
|
|
!define MiKTeXRepo "http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/"
|
|
#!define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
|
|
|
|
!define JabRefVersion "2.8.1"
|
|
!define MiKTeXDeliveredVersion "2.9"
|
|
!define ImageMagickVersion "6.8.0"
|
|
|
|
# definitions for the Complete installer
|
|
!if ${SETUPTYPE} == BUNDLE
|
|
!define JabRefInstall "external\JabRef-2.8.1-setup.exe"
|
|
!define SIZE_JABREF 12400
|
|
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.4521.exe"
|
|
#!define SIZE_DOWNLOAD_LATEX 157100
|
|
#!define SIZE_LATEX 600000
|
|
!endif
|
|
|