This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: wininst --install-script leaves residual files on C:\
Type: Stage:
Components: Distutils Versions: Python 2.3
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: theller Nosy List: jlivingston, loewis, theller
Priority: normal Keywords:

Created on 2004-11-17 00:14 by jlivingston, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg23172 - (view) Author: J Livingston (jlivingston) Date: 2004-11-17 00:14
I'm running Python 2.3.4 and using distutils ( 
__revision__ of 1.58 2003/02/19) on WinXP SP2 to 
create a windows .exe installer. Both installation and 
removal of the package result in a residual file on the 
root of C: drive. This seems to be directly related to the 
use of the windows install-script which is provided with 
the --install-script switch.
The residual file has a naming convention of sxxx 
where 'xxx' is any alphanumeric combination. There is 
never an extension on the file name. On installation, the 
residual file contains the same text the install-script 
prints in the install screen window. On removal, the 
residual file is empty (the install-script does not print 
anything when removing.)

Users attempting to execute the installer from a 
network drive experience installer crash as they do not 
have file system permission to generate the residual 
msg23173 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-12-05 19:51
Logged In: YES 

Thomas, can you take a look? If not, please unassign.
msg23174 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2004-12-22 15:50
Logged In: YES 

Fixed with rev.  PC/bdist_wininst/install.c.
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41182
2004-11-17 00:14:49jlivingstoncreate