bug:
Closed this issue · 1 comments
GoogleCodeExporter commented
the pythonEngine.pas file.
in the function:
function IsPythonVersionRegistered(PythonVersion : string;
out InstallPath: string; out AllUserInstall: Boolean) : Boolean;
code like this:
RootKey := HKEY_LOCAL_MACHINE;
if KeyExists(key) then begin
AllUserInstall := True;
Result := True;
end;
it does not OpenKey and read the default value from registry, but it set
AllUserInstall = True. so it cannot read python path from registry.
i think it can modify like this:
RootKey := HKEY_LOCAL_MACHINE;
if KeyExists(key) then begin
OpenKey(key, FALSE);
InstallPath := ReadString('');
AllUserInstall := True;
Result := True;
end;
sorry english is not my Mother tongue
Original issue reported on code.google.com by tbxyww@gmail.com
on 25 Jul 2011 at 8:48
GoogleCodeExporter commented
I am not sure why what PyScripter is doing is wrong. All user installations
place the dll in the system path, so the InstallPath is not needed.
Original comment by pyscripter
on 25 Jul 2011 at 11:10
- Changed state: As-Designed