mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
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:
parent
ae3d1bebf8
commit
536dc4479a
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user