Jump to content
Sign in to follow this  


Recommended Posts


I used autoit for automatic uninstallation of installshield application.

The problem is that I am unable to close the last GUI screen using autoit.

the last GUI screen asks to click "Finish" to confirm the close of

the successful uninstalled application.

The code below works fine for the first GUI button, but doesn't work for the last GUI.

WinWait("Confirm Uninstall", "Do you want to completely remove the selected appl

ication and all of its components?")

WinActivate("Confirm Uninstall", "Do you want to completely remove the selected

application and all of its components?")

ControlClick("Confirm Uninstall", "OK", "Button1")

WinWait("InstallShield Wizard", "xxxx de-installation is complete")

WinActivate("InstallShield Wizard", "xxxx de-installation is complete")

ControlClick("InstallShield Wizard", "xxxx de-installation is complete", "Button2")

During the installation, the GUI with title "InstallShield Wizard" showed the option of "Cancel" button,

and then finally changed to the button "Finish". I wonder if I need to add a special WinWait() to skip such GUI



Share this post

Link to post
Share on other sites

usually for automation of installshield you need to create a setup.iss which is you predetermined respones to the installer saved in a file

But ive never made one for uninstaller so i dont know if its possible as it normally relies on the setup exe

some info here if you havent read already


Maybe use ussf (universal silent switch finder)and run it on the uninstall file to see what switches it may support

Edited by Chimaera

Share this post

Link to post
Share on other sites

Actually, if it is InstallShield, it should use the MSI switches for silent uninstall. @water1, Look on a machine that has the software, in the registry at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall. Find the product you're trying to uninstall, and look at what it says for the value of UninstallString.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...