Jump to content
Sign in to follow this  
jfogerson

Unattended Install Help

Recommended Posts

jfogerson

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.

Share this post


Link to post
Share on other sites
Chimaera

have you looked for silent switches ?

Java has a number of them, i use this on java

/s REBOOT=Suppress

then you can just use a shellexecute to run it maybe

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.