Index: PC/bdist_wininst/install.c =================================================================== --- PC/bdist_wininst/install.c (revision 81643) +++ PC/bdist_wininst/install.c (working copy) @@ -2181,6 +2181,15 @@ // interesting failure scenario that has been seen: initial executable // runs from a network drive - but once elevated, that network share // isn't seen, and ShellExecute fails with SE_ERR_ACCESSDENIED. + + // successful execution was observed when network share requires + // authentication and credentials were entered correctly + // see http://bugs.python.org/issue8908 + + // another failure scenario with SE_ERR_ACCESSDENIED (code 5) was + // revealed by executable, which is run from non-Microsoft file system + // see http://bugs.python.org/issue8870 + int ret = (int)ShellExecute(0, "runas", modulename, "", NULL, SW_SHOWNORMAL); if (ret <= 32) {