Opt("WinWaitDelay",100)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
Run('C:\Users\John\Desktop\objectdock\ObjectDock.Plus.v2.0.50727.Setup.exe')
WinWaitActivate("ObjectDock Plus 2 - InstallAware Wizard","") ; the '_' is not required at the start of the function. That is not a standard autoit function, WinWaitActive is.
; it will pause here waiting for the window to become active. This function has a return that you can look at to see if it fails.
MouseClick("left",356,350,1)
MouseClick("left",166,307,1)
MouseClick("left",348,352,1)
MouseClick("left",343,346,1)
MouseClick("left",210,232,1)
MouseClick("left",339,354,1)