mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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"
|
Push "$INSTDIR\bin"
|
||||||
Call AddToPath
|
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 "$INSTDIR\python" RegPath 0
|
||||||
StrCmp $0 "" RegPath 0
|
StrCmp $0 "" RegPath 0
|
||||||
|
|
||||||
@ -258,9 +258,9 @@ Section -post
|
|||||||
|
|
||||||
RegPath:
|
RegPath:
|
||||||
DetailPrint "Adding registry keys for python..."
|
DetailPrint "Adding registry keys for python..."
|
||||||
WriteRegStr HKLM "Software\Python\PythonCore\2.5\InstallPath" "" "$INSTDIR\python"
|
WriteRegStr HKLM "Software\Python\PythonCore\2.6\InstallPath" "" "$INSTDIR\python"
|
||||||
WriteRegStr HKLM "Software\Python\PythonCore\2.5\Help" "" ""
|
WriteRegStr HKLM "Software\Python\PythonCore\2.6\Help" "" ""
|
||||||
WriteRegStr HKLM "Software\Python\PythonCore\2.5\Help\Main Python Documentation" "" "$INSTDIR\python\Doc\Python25.chm"
|
WriteRegStr HKLM "Software\Python\PythonCore\2.6\Help\Main Python Documentation" "" "$INSTDIR\python\Doc\Python25.chm"
|
||||||
SkipRegPath:
|
SkipRegPath:
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
@ -286,9 +286,9 @@ Section Uninstall
|
|||||||
Push "$INSTDIR\bin"
|
Push "$INSTDIR\bin"
|
||||||
Call un.RemoveFromPath
|
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
|
StrCmp $0 "$INSTDIR\python" 0 SkipUnReg
|
||||||
DeleteRegKey HKLM "Software\Python\PythonCore\2.5"
|
DeleteRegKey HKLM "Software\Python\PythonCore\2.6"
|
||||||
SkipUnReg:
|
SkipUnReg:
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user