The installer should also check HKCU for the python install dir, since
ActivePython will use that key. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -181,9 +181,16 @@ begin
|
|||||||
if not RegQueryStringValue(HKEY_LOCAL_MACHINE,
|
if not RegQueryStringValue(HKEY_LOCAL_MACHINE,
|
||||||
'Software\Python\PythonCore\%(PYTHONVER)s\InstallPath',
|
'Software\Python\PythonCore\%(PYTHONVER)s\InstallPath',
|
||||||
'', PythonDir) then begin
|
'', PythonDir) then begin
|
||||||
MsgBox('No installation of Python %(PYTHONVER)s found. Aborting...',
|
|
||||||
mbConfirmation, MB_OK);
|
if not RegQueryStringValue(HKEY_CURRENT_USER,
|
||||||
Result := false;
|
'Software\Python\PythonCore\%(PYTHONVER)s\InstallPath',
|
||||||
|
'', PythonDir) then begin
|
||||||
|
|
||||||
|
MsgBox('No installation of Python %(PYTHONVER)s found. Aborting...',
|
||||||
|
mbConfirmation, MB_OK);
|
||||||
|
Result := false;
|
||||||
|
end else
|
||||||
|
Result := true;
|
||||||
end else
|
end else
|
||||||
Result := true;
|
Result := true;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user