MikeDub Posted January 16, 2009 Share Posted January 16, 2009 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 installedIf so - simply start install of second appIf 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 Link to comment Share on other sites More sharing options...
weaponx Posted January 17, 2009 Share Posted January 17, 2009 Silent installation is always first priority before window interaction.#304049 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now