Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #6278 > unrolled thread

Re: bdist_wininst: install_script not run on uninstall

Started byMark Hammond <skippy.hammond@gmail.com>
First post2011-05-26 09:46 +1000
Last post2011-05-26 09:46 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: bdist_wininst: install_script not run on uninstall Mark Hammond <skippy.hammond@gmail.com> - 2011-05-26 09:46 +1000

#6278 — Re: bdist_wininst: install_script not run on uninstall

FromMark Hammond <skippy.hammond@gmail.com>
Date2011-05-26 09:46 +1000
SubjectRe: bdist_wininst: install_script not run on uninstall
Message-ID<mailman.2099.1306367267.9059.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web