I am very new to AutoIT and I am trying to automate the installation of Microsoft products such as Office 2007, Project 2007, and Visio 2007. My script works all the way to the end where it prompts you to go to Microsoft Office Updates or to Close. I cannot get it to do either. Any suggestions...
Here is my script:
Run('C:\Documents and Settings\ist\Desktop\Office 2007 Enterprise\setup.exe')
WinWait("Microsoft Office Enterprise 2007","NUIDocumentWindow")
If Not WinActive("Microsoft Office Enterprise 2007","NUIDocumentWindow") Then WinActivate("Microsoft Office Enterprise 2007","NUIDocumentWindow")
WinWaitActive("Microsoft Office Enterprise 2007","NUIDocumentWindow")
Send("wqjhb4txwqj2q27ftkp62hqq8")
send("{ENTER}")
WinWaitActive("Microsoft Office Enterprise 2007","NUIDocumentWindow")
send("{SPACE}")
send("{ENTER}")
WinWaitActive("Microsoft Office Enterprise 2007","NUIDocumentWindow")
send("{ENTER}")
WinWait("Microsoft Office Enterprise 2007","NUIDocumentWindow")
Send("{TAB}")
send("{ENTER}")
Thanks in advance!!!