Pumagaju Posted March 19, 2008 Share Posted March 19, 2008 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 More sharing options...
Pumagaju Posted March 19, 2008 Author Share Posted March 19, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now