ReadRegStr needs an output variable

This commit is contained in:
John Garland 2009-02-25 12:11:34 +00:00
parent 270bb4ae1b
commit 4c479749f9

View file

@ -362,7 +362,7 @@ SectionGroupEnd
Function autodetect_python
Pop $0
ReadRegStr "" HKLM "SOFTWARE\Python\PythonCore\${PYTHON_VERSION}\InstallPath" ""
ReadRegStr $1 HKLM "SOFTWARE\Python\PythonCore\${PYTHON_VERSION}\InstallPath" ""
IfErrors 0 +3
SectionSetInstTypes $0 3
SetCurInstType 0