Jump to content

Uninstalling via Control Panel


Recommended Posts

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,

Link to comment
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". :)

..

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...