bdist_wininst: install_script not run on uninstall

Mark Hammond skippy.hammond at gmail.com
Wed May 25 19:46:55 EDT 2011


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



More information about the Python-list mailing list