]> git.lyx.org Git - features.git/commitdiff
installer: fix an issue with 64bit MiKTeX
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 18 May 2013 12:19:54 +0000 (14:19 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 18 May 2013 12:19:54 +0000 (14:19 +0200)
- splitindex did not work when 64bit-MiKTeX was used

development/Win32/packaging/installer/ChangeLog.txt
development/Win32/packaging/installer/include/LaTeX.nsh

index 53444ef23a882dd2456f67ffb62583e476248f4b..3a02b672dc2a490afda490ab681937534d219041 100644 (file)
@@ -1,5 +1,7 @@
 Changelog for LyX-206-2:
 - 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:
index 1d9a6608a2f4867c350a0c79e9fc0eef43cfcfc5..00784601b1c93f812c5690d6debbae02647f9834 100644 (file)
@@ -300,24 +300,24 @@ Function ConfigureMiKTeX
      # move the files to the correct location for 64bit
      ${if} $Is64bit == "true"
       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\*.*"
-      CreateDirectory "$3\miktex\bin\lib"
-      CopyFiles /SILENT "$3\miktex\lib\*.*" "$3\miktex\bin\lib"
-      RMDir /r "$3\miktex\lib"
      ${endif}
     ${endif}
    ${endif}
-  ${else}
+  ${else} # if admin or power user
    ${ifnot} ${FileExists} "$PathLaTeX\perl.exe"
     SetOutPath "$PathLaTeXLocal"
     File /r ${FILES_MIKTEX}
     # move the files to the correct location for 64bit
     ${if} $Is64bit == "true"
      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\*.*"
-     CreateDirectory "$PathLaTeXLocal\miktex\bin\lib"
-     CopyFiles /SILENT "$PathLaTeXLocal\miktex\lib\*.*" "$PathLaTeXLocal\miktex\bin\lib"
-     RMDir /r "$PathLaTeXLocal\miktex\lib"
     ${endif}
    ${endif}
   ${endif}