installer: major third-party updates

This commit is contained in:
Uwe Stöhr 2016-09-05 23:40:43 +02:00
parent df8e0ed9e0
commit 216fd2d786
4 changed files with 22 additions and 12 deletions

View File

@ -1,4 +1,15 @@
Changelog for LyX-221-1: Changelog for LyX-221-3:
- updated to MiKTeX 2.9 build 6069
- updated to Imagemagick 7.0.3-0
- updated to JabRef 3.6
- updated to NSIS 3.0
Changelog for LyX-221-2:
- fix broken LyX compilation that could not be installed on 32bit Windows
Changelog for LyX-221-1:
- installs LyX 2.2.1 - installs LyX 2.2.1
- recompiled LyX using MSVC 2015 update 3 - recompiled LyX using MSVC 2015 update 3
- updated to Qt 5.6.1-1 - updated to Qt 5.6.1-1

View File

@ -4,16 +4,16 @@
2. open the file settings.nsh with a text editor 2. open the file settings.nsh with a text editor
and adapt there the following paths to the one on your PC, e.g.: and adapt there the following paths to the one on your PC, e.g.:
!define FILES_LYX "C:\LyX-Installer\LyXPackage\LyX" !define FILES_LYX "C:\LyX-Installer\LyXPackage\LyX"
!define FILES_DEPS "C:\LyX-Installer\LyX2.1x\lyx-windows-deps-msvc2010" !define FILES_DEPS "C:\LyX-Installer\LyX2.2x\lyx-windows-deps-msvc2015"
!define FILES_QT "C:\LyX-Installer\LyXPackage\LyX" !define FILES_QT "C:\LyX-Installer\LyXPackage\LyX"
3. install the latest version 2.x of NSIS (http://nsis.sourceforge.net/Download) 3. install the latest version 3.x of NSIS (http://nsis.sourceforge.net/Download)
4. install the NSIS Large Strings extension (http://nsis.sourceforge.net/Special_Builds) 4. install the NSIS Large Strings extension (http://nsis.sourceforge.net/Special_Builds)
(extract the extension ZIP file in your NSIS installation folder and this way overwrite some files) (extract the extension ZIP file in your NSIS installation folder and this way overwrite some files)
5. open the file FindProc.zip (that is part of this bundle), 5. open the file FindProcDLL.zip (that is part of this bundle),
extract from it the file FindProc.dll to the Plugins folder of extract from it the file FindProc.dll to the folder \Plugins\x86-ansi of
NSIS's installation folder NSIS's installation folder
6. open the file InetLoad.zip (that is part of this bundle), 6. open the file InetLoad.zip (that is part of this bundle),
extract from it the file InetLoad.dll to the Plugins folder of extract from it the file InetLoad.dll to the folder \Plugins\x86-ansi of
NSIS's installation folder NSIS's installation folder
7. right-click on the file lyx-standard.nsi and choose "Compile NSIS script" 7. right-click on the file lyx-standard.nsi and choose "Compile NSIS script"
to compile the standard installer to compile the standard installer

View File

@ -14,7 +14,7 @@ These typically need to be modified for each LyX release
!define APP_VERSION_REVISION 1 !define APP_VERSION_REVISION 1
!define APP_VERSION_EMERGENCY "" # use "1" for an emergency release of LyX otherwise "" !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_EMERGENCY_DOT "" # use "." for an emergency release of LyX otherwise ""
!define APP_VERSION_BUILD 1 # Start with 1 for the installer releases of each version !define APP_VERSION_BUILD 3 # 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 !define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # Version to display
@ -51,12 +51,12 @@ These typically need to be modified for each LyX release
!define MiKTeXRepo "ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/" !define MiKTeXRepo "ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/systems/win32/miktex/tm/packages/"
!define MiKTeXDeliveredVersion "2.9" !define MiKTeXDeliveredVersion "2.9"
!define ImageMagickVersion "6.9.5" !define ImageMagickVersion "7.0.3"
# definitions for the Complete installer # definitions for the Complete installer
!if ${SETUPTYPE} == BUNDLE !if ${SETUPTYPE} == BUNDLE
!define JabRefInstall "external\JabRef_windows_3_5.exe" !define JabRefInstall "external\JabRef_windows_3_6.exe"
!define SIZE_JABREF 26252 # size in KB !define SIZE_JABREF 26668 # size in KB
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6022.exe" !define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6069.exe"
!endif !endif

View File

@ -107,7 +107,6 @@ Section -ProgramFiles SecProgramFiles
File /r "${FILES_IMAGEMAGICK}\" File /r "${FILES_IMAGEMAGICK}\"
!insertmacro FileListMSVC File "${FILES_MSVC}\" !insertmacro FileListMSVC File "${FILES_MSVC}\"
# register ImageMagick # register ImageMagick
WriteRegStr SHCTX "SOFTWARE\Classes\Applications" "AutoRun" "$INSTDIR\imagemagick\convert.exe $$"
WriteRegStr SHCTX "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "BinPath" "$INSTDIR\imagemagick" WriteRegStr SHCTX "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "BinPath" "$INSTDIR\imagemagick"
WriteRegStr SHCTX "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "CoderModulesPath" "$INSTDIR\imagemagick\modules\coders" WriteRegStr SHCTX "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "CoderModulesPath" "$INSTDIR\imagemagick\modules\coders"
WriteRegStr SHCTX "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "ConfigurePath" "$INSTDIR\imagemagick" WriteRegStr SHCTX "SOFTWARE\ImageMagick\${ImageMagickVersion}\Q:16" "ConfigurePath" "$INSTDIR\imagemagick"