X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2734d687721b07106dc7e72ec2487c7070650933..2b004197c8cea40b41632e86cf27857463f985b8:/wxPython/distrib/make_installer.py?ds=sidebyside diff --git a/wxPython/distrib/make_installer.py b/wxPython/distrib/make_installer.py index c5933c47cc..78cba8bd89 100644 --- a/wxPython/distrib/make_installer.py +++ b/wxPython/distrib/make_installer.py @@ -150,6 +150,8 @@ Type: files; Name: "{app}\wxPython\lib\*.pyc"; Type: files; Name: "{app}\wxPython\lib\*.pyo"; Type: files; Name: "{app}\wxPython\lib\editor\*.pyc"; Type: files; Name: "{app}\wxPython\lib\editor\*.pyo"; +Type: files; Name: "{app}\wxPython\lib\mixins\*.pyc"; +Type: files; Name: "{app}\wxPython\lib\mixins\*.pyo"; Type: files; Name: "{app}\wxPython\demo\*.pyc"; Type: files; Name: "{app}\wxPython\demo\*.pyo"; Type: files; Name: "{app}\wxPython\demo\data\showTips"; @@ -179,9 +181,16 @@ begin if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Python\PythonCore\%(PYTHONVER)s\InstallPath', '', PythonDir) then begin - MsgBox('No installation of Python %(PYTHONVER)s found. Aborting...', - mbConfirmation, MB_OK); - Result := false; + + if not RegQueryStringValue(HKEY_CURRENT_USER, + '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 Result := true; end;