jfogerson Posted November 22, 2012 Share Posted November 22, 2012 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 More sharing options...
Chimaera Posted November 22, 2012 Share Posted November 22, 2012 have you looked for silent switches ?Java has a number of them, i use this on java /s REBOOT=Suppressthen you can just use a shellexecute to run it maybe If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now