I am new to this scripting thing... I am looking to get a piece of software installed by installshield uninstalled silently but it is requesting to click on ok then finish after it is completed. Is this possible with a script or does this need to be done another manner? The software is iPass by the way.

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


I assume that you have tried interogating the exe that you are calling for a silent switch command (eg /help /?).
And that you have checked the exe version and googled for cmd extensions.

If you simply cant do something silently and must have GUI interaction.
Then you can write your own uninstaller to do it all silently, and bypass its uninstaller.

Or alternatively you can script against the GUI as a last resort.
With vbscript you can use the sendkeys command.
Alternatively you could use AutoIT
Answered 07/18/2009 by: rahvintzu
Orange Senior Belt

Please log in to comment
To uninstall an MSI (IF that what you are looking for) is msiexec /x Package.msi /qn, it will trigger a silent uninstall with no prompt.
The X is the command to uninstall

The /q : Silent installation/uninstallation. The installer runs an installation/uninstallation without displaying a user interface. No prompts, messages, or dialog boxes are displayed to the user. The user cannot cancel the installation. During uninstallation, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user

The /qn : Displays no user interface

Hope this help
Answered 07/20/2009 by: roma70
Senior Yellow Belt

Please log in to comment
Sorry forgot to mention if you don't want to restart the PC you will need to use

REBOOT=reallysuppress prior the /qn

and you can also use the ALLUSERS=1 to remove it from all users of that computer.

so hewre the complete command : msiexec /x package.msi ALLUSERS=1 REBOOT=reallysuppress /qn

ALLUSERS and REBOOT need to be uppercase as they are Public Proprieties.
Answered 07/20/2009 by: roma70
Senior Yellow Belt

Please log in to comment
All very useful but you assume that the original install was MSI-based: the OP states that his is an InstallShield-based install. Normally, adding '/s' to the uninstall string will silence IS installations. If it doesn't, then the idea of creating an MSI-based uninstall is a good one. I prefer that to using AutoIt (or similar).
Answered 07/21/2009 by: VBScab
Red Belt

Please log in to comment