Re: [python-win32] Uninstall program form Registry

2009-04-17 Thread wensi liu
I implemented a test case for verifying functionality of our program, one of the feature is some folders would be deleted after uninstall. Somehow, those folder still exist after I uninstall via Registry like your mentioned. Instead, the folder would be deleted as expected when I uninstall it manu

Re: [python-win32] Uninstall program form Registry

2009-04-17 Thread Tim Roberts
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

Re: [python-win32] Uninstall program form Registry

2009-04-17 Thread wensi liu
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

Re: [python-win32] Uninstall program form Registry

2009-04-17 Thread Tim Roberts
wensi liu wrote: > > I wrote code blow for trying uninstall program form the control panel. > Somehow the code doesn't work. Right. This is doomed to failure, for reasons very similar to your IE troubles. The Add/Remove Programs control panel does not use child windows to host its controls. Alm

[python-win32] Uninstall program form Registry

2009-04-17 Thread wensi liu
Hi, I wrote code blow for trying uninstall program form the control panel. Somehow the code doesn't work. def CollectChildWindows(hwnd, childWindows): print win32gui.GetWindowText(hwnd) #childWindows.append((hwnd, win32gui.GetWindowText(hwnd), win32gui.getClassName(hwnd))) if __name__