Sign in to follow this  
Followers 0
MikeDub

SW Deployment

2 posts in this topic

I have two separate scripts to install two different apps.

Both scripts work perfectly;however, I am working on combining the two scripts and it fails.

I believe it is due to the first app being installed already.

I've searched for how bypass install if it is already installed and I cannot find that post again.

What I want is:

Check if Acrobat Reader 9 is already installed

If so - simply start install of second app

If not - Install Reader, then start installation of second app (no computers will have the 2nd app installed yet).

What I have so far is:

Run("\\Server01\Installs\adobe\AdbeRdr90_en_US.exe")
WinWaitActive("Adobe Reader 9 - Setup", "Install Adobe Reader 9 to")
Send("{ENTER}")
WinWaitActive("Adobe Reader 9 - Setup", "Click Install to begin the installation")
Send("{ENTER}")
WinWaitActive("Adobe Reader 9 - Setup", "Click Finish to exit setup")
Send("{ENTER}")
Sleep(30000)
;Can never get it past here and I think it's due to possibly having Reader 9 installed already
Run("\\Server01\Installs\CustomApp\Client\setup.exe")
Sleep(5500)
WinActivate("Custom App Installation","Install CustomApp on your computer")
Send("{ENTER}")
WinWaitActive("Custom App Installation", "System Name:")
Send("M:\Mfgsys\FS.CFG")
Send("{ENTER}")
WinWaitActive("Custom App Installation", "components setup will install")
Send("{ENTER}")
WinWaitActive("Custom App Installation", "Summary")
Send("{ENTER}")
WinWaitActive("Custom App Installation", "System Restart Required")
Send("{ENTER}")

Is there anyone that would not mind helping me out a bit?

Thx All

Share this post


Link to post
Share on other sites



Silent installation is always first priority before window interaction.

#304049

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  
Followers 0