Hi,
I'm wondering if I could get some help. We are trying to automate some of our installs of server software in AWS (using cloud formation)and the one I'm having problems with right now is log360 from ManageEngine. Their installer does not have a silent option and I wanted to be able to use AutoIt to trigger this install via a cloud formation script?
So far, I have something like this written:
----
RunAs("Administrator", "domain", "password",0,'C:\Temp\ManageEngine_Log360_64bit.exe',"",@SW_HIDE)
WinWaitActive("Log360 5.5 setup","This wizard will ins")
Send("{Enter}")
WinWaitActive("Log360 5.5 setup","Press the PAGE DOWN ")
Send("{Enter}")
WinWaitActive("Log360 5.5 setup","Click Next to instal")
Send("{Enter}")
WinWaitActive("Log360 5.5 setup","Setup has enough inf")
Send("{Enter}")
WinWaitActive("Components Installer","")
Send("{Enter}")
WinWaitActive("Log360 5.5 setup","Registration for Tec")
Send("!n")
WinWaitActive("Log360 5.5 setup","Yes, I want to view ")
Send("{Enter}")
--
(domain, password is properly populated)
and am trying to trigger this when the server is built by having the name of the file as manageengine.au3 and in the cloud formation script its called as:
c:\s3-downloads\scripts\autoit.exe c:\s3-downloads\scripts\manageengine.au3
where autoit.exe is the autoit3_x64.exe version of the binary.
When I look at taskmanager (this is running on a windows 2012R2 server) , I can see it triggers the script and launches the installer as the proper domain user from Manageengine, but it doesn't seem to progress.
Is there someone that could give me some advise on how to fix this?
Also, if I run this script from an active screen, it works fine.
Thanks in advance.