Win installer: MiKTeX has a new maintenance program

- therefore the command line parameters changed
- all babel packages must be required
- use another default mirror that is hopefully not down 2hours every day
This commit is contained in:
Uwe Stöhr 2018-02-18 06:11:11 +01:00
parent 7df53d50f2
commit 3419fa6a9e
4 changed files with 12 additions and 5 deletions

View File

@ -1,6 +1,7 @@
Changelog for LyX-230-1:
- installs LyX 2.3.0
- fix installation of Arabic spell checker
- updated to MiKTeX 2.9 build 6615
- new thesaurus for Arabic
- updated thesaurus for Ukrainian
- updated spell checker dictionaries for Arabic, Breton and Ukrainian

View File

@ -3,6 +3,7 @@ l3packages
l3experimental
ctablestack
babel-albanian
babel-azerbaijani
babel-basque
babel-belarusian
babel-bosnian
@ -13,12 +14,15 @@ babel-croatian
babel-czech
babel-danish
babel-dutch
babel-english
babel-esperanto
babel-estonian
babel-finnish
babel-french
babel-friulan
babel-galician
babel-georgian
babel-german
babel-greek
babel-hebrew
babel-hungarian
@ -32,6 +36,7 @@ babel-kurmanji
babel-latin
babel-latvian
babel-macedonian
babel-malay
babel-norsk
babel-piedmontese
babel-polish
@ -46,6 +51,7 @@ babel-serbianc
babel-slovak
babel-slovenian
babel-sorbian
babel-spanish
babel-swedish
babel-thai
babel-turkish

View File

@ -45,13 +45,13 @@ These typically need to be modified for each LyX release
#--------------------------------
# MiKTeX and JabRef
!define MiKTeXRepo "ftp://ftp.fernuni-hagen.de/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 MiKTeXDeliveredVersion "2.9"
!define ImageMagickVersion "7.0.7"
# definitions for the Complete installer
!if ${SETUPTYPE} == BUNDLE
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6520.exe"
!define MiKTeXInstall "$INSTDIR\external\basic-miktex-2.9.6615.exe"
!endif

View File

@ -245,14 +245,14 @@ Section -ConfigureScript
# call the non-admin version
# at first we need to synchronize the package database
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--update-db"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install-some=$INSTDIR\Resources\Packages.txt"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--require=@$INSTDIR\Resources\Packages.txt"'
${else}
${if} $MiKTeXUser != "HKCU" # call the admin version
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--update-db"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install-some=$INSTDIR\Resources\Packages.txt"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--require=@$INSTDIR\Resources\Packages.txt"'
${else}
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--update-db"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install-some=$INSTDIR\Resources\Packages.txt"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--require=@$INSTDIR\Resources\Packages.txt"'
${endif}
${endif}
${endif}