eVel Posted January 25, 2010 Share Posted January 25, 2010 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}") EndIfDoes 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 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 e-vel Link to comment Share on other sites More sharing options...
eVel Posted January 25, 2010 Author Share Posted January 25, 2010 the following did the trick: If BitAND(GUICtrlRead ($zimbra[1]), $GUI_CHECKED) == 1 Then Run (@ScriptDir & "\res\zdesktop.exe -q") EndIf -q tells zimbra to do a silent install... thx for anyone who would have helped e-vel 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