Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Unattended Install Help

$
0
0
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.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>