Hello,
I've been working on a script to install an application upon an unattended server installation. The script works fine for installing the application but when I do an unattended install during server boot, it fails. I read the forums and learned that the "Send" and "WinActivate" commands won't work when the system is locked so I've been trying to use the ControlClick and ControlFocus commands without any luck.
Here is my original script:
run("weka-3-6-8jre-x64.exe")
WinWaitActive("Weka 3.6.8 Setup")
Send("{ENTER}")
Send("!A")
Send("!N")
Send("!N")
Send("!I")
WinWaitActive("Java Setup - Welcome")
Send("!I")
WinWaitActive("Java Setup - Complete")
Send("{ENTER}")
WinWaitActive("Weka 3.6.8 Setup")
Send("!N")
Send("!N")
Send("!F")
I'm new to automation so any feedback would be appreciated. Thanks.
I've been working on a script to install an application upon an unattended server installation. The script works fine for installing the application but when I do an unattended install during server boot, it fails. I read the forums and learned that the "Send" and "WinActivate" commands won't work when the system is locked so I've been trying to use the ControlClick and ControlFocus commands without any luck.
Here is my original script:
run("weka-3-6-8jre-x64.exe")
WinWaitActive("Weka 3.6.8 Setup")
Send("{ENTER}")
Send("!A")
Send("!N")
Send("!N")
Send("!I")
WinWaitActive("Java Setup - Welcome")
Send("!I")
WinWaitActive("Java Setup - Complete")
Send("{ENTER}")
WinWaitActive("Weka 3.6.8 Setup")
Send("!N")
Send("!N")
Send("!F")
I'm new to automation so any feedback would be appreciated. Thanks.