New submission from Mitch Frazier <mi...@comwestcr.com>: Distutils built installers will fail on Windows with a run-time exception of STATUS_INVALID_CRUNTIME_PARAMETER, error-code: C0000417 if the python installation directory (e.g. C:\Python27) is read-only for the user running the installer. I've experienced this with the pyside and pywin32 installers on Windows XP.
Using procmon I discovered that the installer fails when it tries to create the installation log file in the python install directory. That led me to look at the directory which is when I discovered that it was read only for my user account. It's read-only because the Python installer was run as Administrator and the other installers are being run from my user account. Changing the directory to read-only for my account allows the installer to run without problem. Perhaps the installer could check for this and provide a friendlier response. ---------- assignee: tarek components: Distutils messages: 144477 nosy: eric.araujo, mitchfrazier, tarek priority: normal severity: normal status: open title: distutils windows installer STATUS_INVALID_CRUNTIME_PARAMETER (C0000417) exception when python dir is read only type: crash versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13038> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com