Script to supress or click OK to completed window?
Hi All,
I have a driver installation for an IBM Backup tape. It includes several drivers and registry files. The installation has a silent switch, but the uninstaller does not.
When you uninstall, after it finishes you get a window saying that it has uninstalled successfully, and then you have to click OK to finish.
Is there a way I can get this to run unattended? I have WPS at my disposal, and RADIA to deploy.
Thanks
Mark
I have a driver installation for an IBM Backup tape. It includes several drivers and registry files. The installation has a silent switch, but the uninstaller does not.
When you uninstall, after it finishes you get a window saying that it has uninstalled successfully, and then you have to click OK to finish.
Is there a way I can get this to run unattended? I have WPS at my disposal, and RADIA to deploy.
Thanks
Mark
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
Posted by:
mekaywe
13 years ago
Posted by:
MarcusPiper
13 years ago
ORIGINAL: VBScab
You can either use something like AutoIt [shudder...] or do a proper job and capture to an MSI. If it's already an MSI (other than a dumb wrapper on an EXE, of course), it should be simple to determine what is producing the dialog/message box and prevent its execution.
Alas they are EXE's and I forgot to mention I am using vmware machines with WPS - so I can't capture the actual installation of the drivers because I don't have the backup tape drive connected to it!
I'll give the SendKeys a go and see if that works - but I'm imagining that if someone is using the device at the time, that could cause the SendKeys command to affect the wrong window?
Posted by:
pjgeutjens
13 years ago
write a vbscript using SendKeys which will automatically click OK button which finish window arises.
One piece of advice: DO NOT do the above.
First of all make sure the drivers are signed, if they're not, there's a nice post on these forums on how to sign them yourself.
Then, like Ian said, make an MSI out of the driver installation so you have full control over its installation and removal.
Rgds,
PJ
Posted by:
MarcusPiper
13 years ago
ORIGINAL: pjgeutjens
write a vbscript using SendKeys which will automatically click OK button which finish window arises.
One piece of advice: DO NOT do the above.
First of all make sure the drivers are signed, if they're not, there's a nice post on these forums on how to sign them yourself.
Then, like Ian said, make an MSI out of the driver installation so you have full control over its installation and removal.
Rgds,
PJ
AutoIt
Thanks for the advice. I figured that using AppActivate/SendKeys or AutoIT wouldn't work properly because A) I'd need to make the script run at the right time (which I wouldn't know how to do that cleverly), and B) RADIA may well deploy the package to the server when nobody is logged onto it (hence the Sendkeys or AutoIT wouldn't do anything!
As I only have a day to do this I'll have to just media drop it and run the install in silent mode, with no delete method in Radia. I guess that's the best I can do. I will look up on the driver signing thread though, thanks.
Mark
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.