Jump to content

Unattended Install Help


 Share

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...