installer: don't use Python 3.x for LyX; fixes #7143

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37143 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2011-01-07 00:28:32 +00:00
parent ae3d1bebf8
commit 536dc4479a
2 changed files with 5 additions and 7 deletions

View File

@ -1,7 +1,9 @@
Version 4.27
- LyX 1.6.9
- updated to eLyXer 1.1.1
- updated to eLyXer 1.1.2
- updated to ImageMagick 6.6.x-y
- fix bug that a detected installed Python 3.x was used for LyX (LyX bug 7143)
LyX only works properly with Python 2.x
Version 4.26

View File

@ -87,6 +87,8 @@ Function MissingPrograms
# test if Python is installed
# only use an existing python when it is version 2.5 or newer because some
# older Compaq and Dell PCs were delivered with outdated Python interpreters
# Python 3.x was reported not to work with LyX properly, see
# http://www.lyx.org/trac/ticket/7143
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.5\InstallPath" ""
${if} $PythonPath == ""
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.6\InstallPath" ""
@ -94,12 +96,6 @@ Function MissingPrograms
${if} $PythonPath == ""
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.7\InstallPath" ""
${endif}
${if} $PythonPath == ""
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\3.0\InstallPath" ""
${endif}
${if} $PythonPath == ""
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\3.1\InstallPath" ""
${endif}
${if} $PythonPath != ""
StrCpy $PythonPath $PythonPath -1 # remove the "\" at the end
StrCpy $DelPythonFiles "True"