]> git.lyx.org Git - lyx.git/blobdiff - development/Win32/packaging/installer/settings.nsh
installer: update the packages list
[lyx.git] / development / Win32 / packaging / installer / settings.nsh
index 73704fede7c9498c8f485e322fe05005eb73a9ff..8fbd9522e352ef8ec7c4d494612ff3b59c996590 100644 (file)
@@ -1,51 +1,64 @@
-/*\r
-\r
-Settings for LyX installer\r
-\r
-These typically need to be modified for each LyX release\r
-\r
-*/\r
-\r
-#--------------------------------\r
-# Version number\r
-\r
-!define APP_VERSION_MAJOR 1\r
-!define APP_VERSION_MINOR 6\r
-!define APP_VERSION_REVISION 0\r
-!define APP_VERSION_BUILD 0 # Start with 1 for the installer releases of each version\r
-\r
-#--------------------------------\r
-# Installer file name\r
-\r
-# Typical names for the release are "LyX-1.5.4-1-Installer.exe" etc.\r
-\r
-!ifndef ExeFile\r
-  !define /date ExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer.exe"\r
-!endif\r
-!ifndef BundleExeFile\r
-  !define /date BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Bundle.exe"\r
-!endif\r
-!ifndef MinimalExeFile\r
-  !define /date MinimalExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Minimal.exe"\r
-!endif\r
-\r
-#--------------------------------\r
-# File names of component installers\r
-\r
-!define SETUPFILE_LATEX "basic-miktex.2.7.2960.exe"\r
-!define SETUPFILE_IMAGEMAGEMAGICK "ImageMagick-6.4.1-0-Q16-windows-dll.exe"\r
-!define SETUPFILE_GHOSTSCRIPT "gs861w32.exe"\r
-\r
-#--------------------------------\r
-# Download size of components (in KB)\r
-\r
-!define SIZE_DOWNLOAD_LATEX 78493\r
-!define SIZE_DOWNLOAD_IMAGEMAGICK 8565\r
-!define SIZE_DOWNLOAD_GHOSTSCRIPT 12469\r
-\r
-#--------------------------------\r
-# Approximations of space required for components (in KB)\r
-\r
-!define SIZE_LATEX 225000\r
-!define SIZE_IMAGEMAGICK 34500\r
-!define SIZE_GHOSTSCRIPT 31500\r
+/*
+
+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 1
+!define APP_VERSION_REVISION 4
+!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 ""
+!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}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # 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}${APP_VERSION_EMERGENCY}-Installer-${APP_VERSION_BUILD}.exe"
+!endif
+!ifndef BundleExeFile
+  !define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-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 "D:\LyXPackage2.1\LyX"
+!define FILES_DEPS "D:\LyXGit\Master\lyx-windows-deps-msvc2010"
+!define FILES_QT "C:\Qt\4.8.7"
+!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.10"
+!define MiKTeXDeliveredVersion "2.9"
+!define ImageMagickVersion "6.9.2"
+# definitions for the Complete installer
+!if ${SETUPTYPE} == BUNDLE
+ !define JabRefInstall "external\JabRef-2.10-setup.exe"
+ !define SIZE_JABREF 14100
+ !define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.5721.exe"
+!endif
+