installer: fix a typo

This commit is contained in:
Uwe Stöhr 2015-11-28 20:19:49 +01:00
parent 1ded0d77ad
commit 24b37e96de

View File

@ -171,7 +171,7 @@ Section -Configure
# for the wmf image type we need to specify a resolution for the converter
# otherwise 1024 dpi are used and eps2pdf takes ages
# 300 dpi are a good compromise for speed and size
FileWrite $R1 '\converter "wmf" "eps" "convert -density 300 $$$$i $$$$o" ""$\r$\n\'
FileWrite $R1 '\converter "wmf" "eps" "convert -density 300 $$$$i $$$$o" ""$\r$\n'
# if LilyPondPath was found
# we need to add these entris because python scripts can only be executed
@ -212,9 +212,6 @@ Section -ConfigureScript
${if} $LaTeXInstalled == "MiKTeX"
Call UpdateMiKTeX # function from latex.nsh
# install all necessary packages at once because this is much faster then to install the packages one by one
# NOTE: the babel packages installation is only necessary for LyX 2.1.2 ans 2.1.3 because of the restructuration
# of babel in MiKTeX. This can be removed for LyX 2.1.4
# (due to a missing feature in MiKTeX each babel package has to be installed separately)
DetailPrint $(TEXT_CONFIGURE_LYX)
${if} $MultiUser.Privileges != "Admin"
${andif} $MultiUser.Privileges != "Power"
@ -222,151 +219,13 @@ Section -ConfigureScript
# 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" "--install=babel-albanian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-bahasa"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-basque"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-breton"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-bulgarian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-catalan"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-croatian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-czech"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-danish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-dutch"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-english"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-esperanto"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-estonian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-finnish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-french"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-galician"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-german"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-greek"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-hebrew"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-hungarian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-icelandic"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-interlingua"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-irish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-italian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-kurmanji"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-latin"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-latvian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-norsk"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-polish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-portuges"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-romanian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-russian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-samin"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-scottish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-serbian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-serbianc"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-slovak"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-slovenian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-sorbian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-spanish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-swedish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-thai"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-turkish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-ukrainian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-vietnamese"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-welsh"'
${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" "--install=babel-albanian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-bahasa"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-basque"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-breton"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-bulgarian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-catalan"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-croatian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-czech"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-danish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-dutch"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-english"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-esperanto"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-estonian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-finnish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-french"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-galician"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-german"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-greek"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-hebrew"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-hungarian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-icelandic"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-interlingua"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-irish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-italian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-kurmanji"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-latin"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-latvian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-norsk"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-polish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-portuges"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-romanian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-russian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-samin"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-scottish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-serbian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-serbianc"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-slovak"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-slovenian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-sorbian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-spanish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-swedish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-thai"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-turkish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-ukrainian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-vietnamese"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--admin" "--verbose" "--install=babel-welsh"'
${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" "--install=babel-albanian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-bahasa"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-basque"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-breton"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-bulgarian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-catalan"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-croatian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-czech"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-danish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-dutch"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-english"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-esperanto"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-estonian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-finnish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-french"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-galician"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-german"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-greek"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-hebrew"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-hungarian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-icelandic"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-interlingua"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-irish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-italian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-kurmanji"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-latin"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-latvian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-norsk"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-polish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-portuges"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-romanian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-russian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-samin"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-scottish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-serbian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-serbianc"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-slovak"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-slovenian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-sorbian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-spanish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-swedish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-thai"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-turkish"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-ukrainian"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-vietnamese"'
nsExec::ExecToLog '"$PathLaTeX\mpm.exe" "--verbose" "--install=babel-welsh"'
${endif}
${endif}
${endif}