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
0 Comments   [ + ] Show Comments

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.

Answers

0
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.
Answered 03/09/2011 by: VBScab
Red Belt

Please log in to comment
0
write a vbscript using SendKeys which will automatically click OK button which finish window arises.
Answered 03/09/2011 by: mekaywe
Brown Belt

Please log in to comment
0
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?
Answered 03/09/2011 by: MarcusPiper
Senior Yellow Belt

Please log in to comment
0
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
Answered 03/09/2011 by: pjgeutjens
Red Belt

Please log in to comment
0
AutoIt is very handy to this kind of situation.
Answered 03/09/2011 by: Savage455
Orange Belt

Please log in to comment
0
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
Answered 03/10/2011 by: MarcusPiper
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity