summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2004-07-02 23:53:16 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2004-07-02 23:53:16 (GMT)
commitf9bfdd850cd00e00c0895b3f73afd019b7a9dfdb (patch)
treee389af95d08c2459b50e1112e92646b065cb8ced /Lib
parent59ad45689ba71f960201e681f98ed0afbac87d46 (diff)
downloadcpython-f9bfdd850cd00e00c0895b3f73afd019b7a9dfdb.zip
cpython-f9bfdd850cd00e00c0895b3f73afd019b7a9dfdb.tar.gz
cpython-f9bfdd850cd00e00c0895b3f73afd019b7a9dfdb.tar.bz2
Patch [ 983775 ] Allow bdist_wininst to install for non-admin users
to address bugs: [ 555812 ] installing extension w/o admin rights [ 555810 ] removing extensions without admin rights * When enumerating the Python versions found, also remember the HKEY they were found under. * When installing, if Python was installed under HKCU, we will too. If Python was installed under HKLM, we check the permissions of the current user, and install where we can. * The "root" key we use is a global variable - all registry setting and delete functions use this global rather than a hardcoded HKLM. * A new entry is written to the install log, indicating the key we used. Uninstallation is based on this key. * 'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp file on the root of the current drive, and if this is readonly would explain the 'freopen' errors occasionally reported. 'tempnam' creates the temp file in the %TEMP% directory.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions