Sign in to follow this  
Followers 0
Pumagaju

Uninstalling via Control Panel

2 posts in this topic

I need to initiate a program uninstall via the Control Panel. In this case the app doesnt have an UninstallString in the registry or an associated uninstall exe. So I need a way to automate the uninstall launch from the Control Panel.

In attempting to use the macro generator I get the following code output:

ControlClick("Add or Remove Programs","","DirectUIHWND1")

The problem, as I understand it, is this doesnt differentiate between my app and everything else listed in Add/Remove programs.

Anyone have a better way or ideas?

Thanks,

Share this post


Link to post
Share on other sites



Solved my own problem. I used FileMon to monitor as I launched the Uninstall through the CP. Then I just filtered through until I found my proper command line.

In this case it was "C:\Program Files\InstallShield Installation Information\{GUID}\setup.exe". :)

..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0