Script Help for a new guy
Hello,
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.
Thanks
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.
Thanks
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
rahvintzu
15 years ago
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
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
Posted by:
roma70
15 years ago
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
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
Posted by:
roma70
15 years ago
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.
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.
Posted by:
anonymous_9363
15 years ago
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).
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.