python 2.6, not 2.5

This commit is contained in:
rdb 2010-01-03 20:54:17 +00:00
parent 9620592938
commit c5e6e3b556

View File

@ -248,7 +248,7 @@ Section -post
Push "$INSTDIR\bin"
Call AddToPath
ReadRegStr $0 HKLM "Software\Python\PythonCore\2.5\InstallPath" ""
ReadRegStr $0 HKLM "Software\Python\PythonCore\2.6\InstallPath" ""
StrCmp $0 "$INSTDIR\python" RegPath 0
StrCmp $0 "" RegPath 0
@ -258,9 +258,9 @@ Section -post
RegPath:
DetailPrint "Adding registry keys for python..."
WriteRegStr HKLM "Software\Python\PythonCore\2.5\InstallPath" "" "$INSTDIR\python"
WriteRegStr HKLM "Software\Python\PythonCore\2.5\Help" "" ""
WriteRegStr HKLM "Software\Python\PythonCore\2.5\Help\Main Python Documentation" "" "$INSTDIR\python\Doc\Python25.chm"
WriteRegStr HKLM "Software\Python\PythonCore\2.6\InstallPath" "" "$INSTDIR\python"
WriteRegStr HKLM "Software\Python\PythonCore\2.6\Help" "" ""
WriteRegStr HKLM "Software\Python\PythonCore\2.6\Help\Main Python Documentation" "" "$INSTDIR\python\Doc\Python25.chm"
SkipRegPath:
!endif
@ -286,9 +286,9 @@ Section Uninstall
Push "$INSTDIR\bin"
Call un.RemoveFromPath
ReadRegStr $0 HKLM "Software\Python\PythonCore\2.5\InstallPath" ""
ReadRegStr $0 HKLM "Software\Python\PythonCore\2.6\InstallPath" ""
StrCmp $0 "$INSTDIR\python" 0 SkipUnReg
DeleteRegKey HKLM "Software\Python\PythonCore\2.5"
DeleteRegKey HKLM "Software\Python\PythonCore\2.6"
SkipUnReg:
!endif