mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
installer: support for Python 2.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@27193 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
39b5267801
commit
c2e5e2a16c
@ -85,9 +85,12 @@ Function MissingPrograms
|
||||
${endif}
|
||||
|
||||
# test if Python is installed
|
||||
# only use an existing python when it is version 2.5 because many Compaq and Dell PC are delivered
|
||||
# with outdated Python interpreters
|
||||
# only use an existing python when it is version 2.5 or newer because some
|
||||
# Compaq and Dell PCs were delivered with outdated Python interpreters
|
||||
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.5\InstallPath" ""
|
||||
${if} $PythonPath == ""
|
||||
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.6\InstallPath" ""
|
||||
${endif}
|
||||
${if} $PythonPath != ""
|
||||
StrCpy $PythonPath $PythonPath -1 # remove the "\" at the end
|
||||
StrCpy $DelPythonFiles "True"
|
||||
|
Loading…
Reference in New Issue
Block a user