look at some of the install scripts on the forum thats how i got going
CODE
run("C:\Program Files\Internet Explorer\IEXPLORE.EXE")
;The Program To run from the autoit script
;the example being internet explorer
;you can change this to ur program installer
;----------------------------------------------------------------------------
Winwaitactive("Welcome to MSN.co.uk - Microsoft Internet Explorer")
;Waits till the windows active before proceeding to next step
;the way to find if widow is active is by the title bar on the page
;----------------------------------------------------------------------------
Controlclick("Welcome to MSN.co.uk - Microsoft Internet Explorer", "" , "Edit1")
;Clicks a control on the active widow
;control being a textbox, command button, and other controls
;This clicks the adressbar on the control pannel
;if i wanted to make it click the home button i would change it to
;Controlclick("Welcome to MSN.co.uk - Microsoft Internet Explorer", "" ,
"ToolbarWindow324")
;then that would click the home button on the iexplorer toolbar
;------------------------------------------------------------------------------
Send("http://www.msfn.org/board{Enter}")
;send sends keys to the inputbox
;this will input things into an input box I.e for serial number etc:
;in this example i'm using Iexplorer adresss bar
;and the presses enter
;-------------------------------------------------------------------------------
;Run("Programname")
;WinWaitActive ( "title", ["text"], [timeout]
;text optional, timeout optional. Taken for help file
;controlclick("Title" , "Text" , "control")
;u can use the autoit window spy that comeswith autoit to find the control
;Send("TEXTTOSEND")
;send("{keytosend}")
;Send("TextToSend{KeyToPress]")
;Refer to help file for keys
;Sleep(Time)
;function to pause the script for x Amount of time
;250 = quarter of a second
;500 = half of a second
;1000 = second
;and so on
thats basicly all there is to cover an autoit install
any can add anything shout me