Jump to content
Sign in to follow this  
Pumagaju

Uninstalling via Control Panel

Recommended Posts

Pumagaju

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
Pumagaju

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.