; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:         tigerclaw
;
; Script Function:
;	Install Opera 9 unattended
;
; ----------------------------------------------------------------------------


Run("o90p1_8031.exe")
WinWait("Opera 9","Welcome")
ControlClick("Opera 9","Welcome","Button1")
WinWait("Opera 9","Software License Agreement")
ControlClick("Opera 9","Software License Agreement","Button1")
WinWait("Opera 9","Select Installation Directory")
ControlClick("Opera 9","Select Installation Directory","Button1")
WinWait("Opera 9","Icon Creation")
ControlSend("Opera 9","Icon Creation","Button5","{-}")
ControlSend("Opera 9","Icon Creation","Button6","{-}")
ControlClick("Opera 9","Icon Creation","Button1")
WinWait("Opera 9","Ready to Install!")
ControlClick("Opera 9","Ready to Install!","Button1")
WinWait("Opera 9","Installation Completed!")
ControlSend("Opera 9","Installation Completed!","Button4","{-}")
ControlClick("Opera 9","Installation Completed!","Button1")