Browse Source

python 2.6, not 2.5

rdb 16 years ago
parent
commit
c5e6e3b556
1 changed files with 6 additions and 6 deletions
  1. 6 6
      direct/src/directscripts/packpanda.nsi

+ 6 - 6
direct/src/directscripts/packpanda.nsi

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