On 6 Aug., 04:02, Mark Hammond <skippy.hamm...@gmail.com> wrote:
> According to a comment in pywin32's post-install script:
>
>          elif arg == "-remove":
>              # bdist_msi calls us before uninstall, so we can undo what we
>              # previously did.  Sadly, bdist_wininst calls us *after*, so
>              # we can't do much at all.
>
Sadly, I can not confirm this. I wrote the simplest install-script
(dump call-parameters to a txt-file) and tested with 2.6 and 2.7
On bdist_wininst my install_script was called on install with
parameter "-install"
On bdist_wininst my install_script was called on install without
parameters
My script was never (ever) called on uninstall...

> I'd suggest using py2exe to package the object and inno installer or
> similar to handle the install and uninstall parts.
Yes, I'll try that, thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to