AvayaCMS.bat
:: OPTIONAL: Install Avaya CMS11 @Echo off ::Use autoIT script todo.pl "AutoIt3 %Z%\scripts\AvayaCMS.au3"
AvayaCMS.au3
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.1.1.0
Author: Brian Simons
Script Function:
Install Avaya CMS Supervisor
#ce ----------------------------------------------------------------------------
Run("Z:\packages\AvayaCMS\setup.exe")
WinWaitActive("CMS Supervisor V", "Welcome to the")
ControlClick("CMS Supervisor V", "Welcome to the", 1)
WinWaitActive("CMS Supervisor V", "Select if the application is to be installed on a local PC")
ControlFocus("CMS Supervisor V", "Select if the application", 601)
Send("{+}")
ControlClick("CMS Supervisor V", "Select if the application", 1)
WinWaitActive("CMS Supervisor V", "Setup will install Supervisor in the following folder")
ControlClick("CMS Supervisor V", "Setup will install Supervisor in the following folder", 1)
WinWaitActive("CMS Supervisor V", "Click the type of setup you prefer")
ControlClick("CMS Supervisor V", "Click the type of setup you prefer", 1)
WinWaitActive("CMS Supervisor V", "Setup will add program icons")
ControlClick("CMS Supervisor V", "Setup will add program icons", 1)
WinWaitActive("CMS Supervisor V", "Setup has enough information to start copying")
ControlClick("CMS Supervisor V", "Setup has enough information to start copying", 1)
Do
If WinExists("Question", "Would you like to view the README file now") Then
ControlClick("Question", "Would you like to view the README file now", 7)
EndIf
Until WinWaitActive("CMS Supervisor V", "Setup has finished installing Supervisor", 1)
ControlClick("CMS Supervisor V", "Setup has finished installing Supervisor", 1)