Skip to content

Commit

Permalink
python registry keys are different in windows 7 32 bits
Browse files Browse the repository at this point in the history
  • Loading branch information
José Redrejo committed Jan 16, 2024
1 parent 29934a5 commit d016468
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/installer-source/KolibriSetupScript.iss
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@ begin
for Version := MinSupportedVersion to MaxSupportedVersion do
begin
PythonVersion := '3.' + IntToStr(Version);
if not IsWin64 then PythonVersion := PythonVersion + '-32';
// This checks for Python 3.x installed for all users
if RegKeyExists(GetHKLM, 'SOFTWARE\Python\PythonCore\' + PythonVersion + '\InstallPath' ) then
begin
Expand Down

0 comments on commit d016468

Please sign in to comment.