mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
python 2.6, not 2.5
This commit is contained in:
parent
9620592938
commit
c5e6e3b556
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user