|
|
@@ -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
|
|
|
|