Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6278
| Date | 2011-05-26 09:46 +1000 |
|---|---|
| From | Mark Hammond <skippy.hammond@gmail.com> |
| Subject | Re: bdist_wininst: install_script not run on uninstall |
| References | <201105252128.17504.wbsoft@xs4all.nl> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2099.1306367267.9059.python-list@python.org> (permalink) |
On 26/05/2011 5:28 AM, Wilbert Berendsen wrote: > Hi, > > according to the docs the installer bdist_wininst creates will run the > install-script on install with -install (which works perfectly) and on > uninstall with the -remove argument (which seemingly never happens). > > However I want to cleanup some registry stuff on uninstall so I want the > uninstall script to work. > > Studying the source code of the installer[1] in the Run_RemoveScript > function... > > [1] http://svn.python.org/view/python/trunk/PC/bdist_wininst/install.c > > ... it checks for the line '%d Run Script: %s' in the log, which is there. But > can anybody find out why the install script is not run? Works for me in the pywin32 install script - maybe you should make the smallest possible example that doesn't work and post the entire thing here? Mark
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: bdist_wininst: install_script not run on uninstall Mark Hammond <skippy.hammond@gmail.com> - 2011-05-26 09:46 +1000
csiph-web