Moved setting python dir to its own function

This commit is contained in:
John Garland 2009-02-25 08:05:12 +00:00
parent c7a67f5c53
commit 538643b5ba

View file

@ -103,12 +103,16 @@
; Functions
Function .onInit
Function set_python_dir
ReadRegStr $PYTHONDIR HKLM "SOFTWARE\Python\PythonCore\${PYTHON_VERSION}\InstallPath" ""
IfErrors 0 +2
StrCpy $PYTHONDIR "$INSTDIR\Python"
FunctionEnd
Function .onInit
Call set_python_dir
FunctionEnd
; General Settings
; Version