Jump to content

Zimbra Desktop installation with AutoIt


eVel
 Share

Recommended Posts

Hi ppl,

I am currently stuck creating an AutoIt script for an automated installation of Zimbra Desktop (for Windows) which can be found here: (Zimbra Desktop)

Installation runs fine, however I don´t know what the guy who wrote the install-routine for Zimbra did:

the Window Info Tools shows no visible nor any hidden text for all the Pages during the installation and the Window title and Class stay the same, every time i run the routine, the window gets another Handle... and i need to push one last "OK" Button which also isn´t recognized by the Window-Info tool to be any kind of Button...

so far, i have written some ugly lines of code for the installation:

If BitAND(GUICtrlRead ($zimbra[1]), $GUI_CHECKED) == 1 Then

                                Run (@ScriptDir & "\res\zdesktop.exe")
                                WinWaitActive ("Language Selection")
                                ;Sleep( 500 )
                                Send("g")
                                ;Sleep( 50000 )
                                Send("{ENTER}")
                                WinWaitActive ("Setup - Yahoo! Zimbra Desktop 1.0.3")
                                Send("{ENTER}")
                                Sleep( 500 )
                                Send ( "{TAB}{TAB}{SPACE}" )
                                Send ( "{TAB}{TAB}{TAB}{SPACE}" )
                                Sleep (500)
                                Send("{ENTER}")
                                Sleep (50000)
                                Send("{ENTER}")
EndIf

Does anyone has any idea how I could be able to write a script which will install Zimbra for me?

I have to install it on ~40 PC´s this week and I wouldn't want to do all the clicks manually :D

Systems to be installed on are Win7 and WinXP pro.

I use AutoIt v3.3.4.0...

any help would be grately appreciated!

hope to see some answeres soon :huggles:

e-vel

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