[issue8908] friendly errors for UAC errors in windows installers

anatoly techtonik report at bugs.python.org
Sat Jun 5 18:45:01 CEST 2010


New submission from anatoly techtonik <techtonik at gmail.com>:

The problem investigated in issue8870 detected that bdist_wininst installers fail in Vista and Windows 7 with enabled UAC (user access control) when run from local drives with non-MS file systems and from network drives.

The error message returned in this case is not explanative at all.
"Failed to start elevated process (ShellExecute returned 5)"

Further investigation revealed that if network samba share requires authentication, and authentication passes, then the installer won't fail. Unfortunately, I can not setup network access to unauthenticated Samba shares right now to test behavior, but I attach installer generated with --user-access-control=force in case somebody can help.

The error message needs to be improved to give users immediate hint what Windows UAC doesn't allow to run privileged executables from non-MS file systems and/or network drives.

----------
assignee: tarek
components: Distutils, Distutils2
files: wget-0.6.win32.force.exe
messages: 107149
nosy: tarek, techtonik
priority: normal
severity: normal
status: open
title: friendly errors for UAC errors in windows installers
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file17563/wget-0.6.win32.force.exe

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8908>
_______________________________________


More information about the Python-bugs-list mailing list