[python-win32] Insufficient notification of installer failure

Fredrik Orderud forderud at gmail.com
Tue Mar 8 07:18:47 EST 2016


I'm working in a corporate environment where user account control and
corporate policies are used to restrict application installation
privileges. As a consequence of this the PyWin32 installer fails when not
being started from a command prompt with administrative privileges (right
click and select "run as administrator" does not work). The installation
failure is of course not PyWin32's fault, but it would help with a stronger
indication of failure.

Observed behavior after copying & compiling of files have completed:
---
Postinstall script finished.
Click the Finish button to exit the Setup wizard.
---
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
---

Several of my colleagues failed to notice the subtle error message, and
believed that the installer succeeded. This led way to many problems with
PyWin32 not working later on.

Could it be possible to somehow give a clearer user notification on
installer failure?

Thanks in advance
Fredrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20160308/43c5d4cd/attachment.html>


More information about the python-win32 mailing list