[issue13038] distutils windows installer STATUS_INVALID_CRUNTIME_PARAMETER (C0000417) exception when python dir is read only

2011-09-23 Thread Mitch Frazier

New submission from Mitch Frazier :

Distutils built installers will fail on Windows with a run-time exception of 
STATUS_INVALID_CRUNTIME_PARAMETER, error-code: C417 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 (C417) 
exception when python dir is read only
type: crash
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue13038>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13038] distutils windows installer STATUS_INVALID_CRUNTIME_PARAMETER (C0000417) exception when python dir is read only

2011-10-07 Thread Mitch Frazier

Mitch Frazier  added the comment:

On 10/7/2011 10:27 AM, Éric Araujo wrote:
>
> Éric Araujo  added the comment:
>
> Are these winsinst or MSI installers?

They are windows installers (winsinst).

>
> --
> components: +Distutils2 -Distutils
> nosy: +alexis
> versions: +3rd party, Python 3.3 -Python 2.7
>
> ___
> Python tracker
> <http://bugs.python.org/issue13038>
> ___

--

___
Python tracker 
<http://bugs.python.org/issue13038>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com