installer: fix an issue with 64bit MiKTeX

- splitindex did not work when 64bit-MiKTeX was used
This commit is contained in:
Uwe Stöhr 2013-05-18 14:19:54 +02:00
parent 7aba4d51fa
commit abb3bf224b
2 changed files with 9 additions and 7 deletions

View File

@ -1,5 +1,7 @@
Changelog for LyX-206-2: Changelog for LyX-206-2:
- fix bug that View/Export a file as HTML did not work. - fix bug that View/Export a file as HTML did not work.
- enable to use multiple indexes also with 64bit-MiKTeX
- updated to Python 2.7.5
Changelog for LyX-206-1: Changelog for LyX-206-1:

View File

@ -300,24 +300,24 @@ Function ConfigureMiKTeX
# move the files to the correct location for 64bit # move the files to the correct location for 64bit
${if} $Is64bit == "true" ${if} $Is64bit == "true"
CopyFiles /SILENT /FILESONLY "$3\miktex\bin\*.*" "$PathLaTeX" CopyFiles /SILENT /FILESONLY "$3\miktex\bin\*.*" "$PathLaTeX"
CreateDirectory "$3\miktex\bin\x64\lib"
CopyFiles /SILENT "$3\miktex\bin\lib\*.*" "$3\miktex\bin\x64\lib"
RMDir /r "$3\miktex\bin\lib"
Delete "$3\miktex\bin\*.*" Delete "$3\miktex\bin\*.*"
CreateDirectory "$3\miktex\bin\lib"
CopyFiles /SILENT "$3\miktex\lib\*.*" "$3\miktex\bin\lib"
RMDir /r "$3\miktex\lib"
${endif} ${endif}
${endif} ${endif}
${endif} ${endif}
${else} ${else} # if admin or power user
${ifnot} ${FileExists} "$PathLaTeX\perl.exe" ${ifnot} ${FileExists} "$PathLaTeX\perl.exe"
SetOutPath "$PathLaTeXLocal" SetOutPath "$PathLaTeXLocal"
File /r ${FILES_MIKTEX} File /r ${FILES_MIKTEX}
# move the files to the correct location for 64bit # move the files to the correct location for 64bit
${if} $Is64bit == "true" ${if} $Is64bit == "true"
CopyFiles /SILENT /FILESONLY "$PathLaTeXLocal\miktex\bin\*.*" "$PathLaTeX" CopyFiles /SILENT /FILESONLY "$PathLaTeXLocal\miktex\bin\*.*" "$PathLaTeX"
CreateDirectory "$PathLaTeXLocal\miktex\bin\x64\lib"
CopyFiles /SILENT "$PathLaTeXLocal\miktex\bin\lib\*.*" "$PathLaTeXLocal\miktex\bin\x64\lib"
RMDir /r "$PathLaTeXLocal\miktex\bin\lib"
Delete "$PathLaTeXLocal\miktex\bin\*.*" Delete "$PathLaTeXLocal\miktex\bin\*.*"
CreateDirectory "$PathLaTeXLocal\miktex\bin\lib"
CopyFiles /SILENT "$PathLaTeXLocal\miktex\lib\*.*" "$PathLaTeXLocal\miktex\bin\lib"
RMDir /r "$PathLaTeXLocal\miktex\lib"
${endif} ${endif}
${endif} ${endif}
${endif} ${endif}