[python-win32] Uninstall program form Registry

Tim Roberts timr at probo.com
Sat Apr 18 01:50:10 CEST 2009


wensi liu wrote:
> I am using AccExplorer to identify the Name and Class Name.
>
> Actually, I did uninstall program via Registry, however, the behavior
> could be a little difference between them,  like:
>
> If I uninstall program from Registry, the program won't delete it's
> folder itself. That the reason why I am trying to do so that way.

Believe me when I say that the Add/Remove Programs wizard is doing
exactly what I described: it runs the UninstallString from the
registry.  It CAN'T do anything else.  It doesn't know which folders to
delete.  Only the uninstall app knows that.

You probably had extra files in the folder that weren't installed by the
installer.  Most uninstall apps will not delete the root folder if it
contains files that were created after installation time.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list