0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 16:45:42 +01:00
cpython/PC/bdist_wininst
Mark Hammond f9bfdd850c 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.
2004-07-02 23:53:16 +00:00
..
.cvsignore
archive.h
extract.c
install.c Patch [ 983775 ] Allow bdist_wininst to install for non-admin users 2004-07-02 23:53:16 +00:00
install.rc
PythonPowered.bmp
README.txt
resource.h
wininst-7.1.sln Solution and project file to build wininstXX.exe with MSVC7.1 (Visual 2004-02-20 18:23:47 +00:00
wininst-7.1.vcproj The wininst.exe is no longer compressed with UPX. 2004-06-18 18:29:46 +00:00
wininst.dsp The wininst.exe is no longer compressed with UPX. 2004-06-18 18:29:46 +00:00
wininst.dsw

XXX Write description
XXX Dont't forget to mention upx

XXX Add pointer to this file into PC/README.txt