$Title_1 = "McAfee VirusScan Installation Wizard"

Run ("setup.exe")

;End User Agreement
WinWaitActive("End User")
Send ("{TAB 2}")
Send ("{ENTER}")

;on old PCs it takes ages that setup gets initialized 60000 = 1 Minute
;Shortcut removed from Desktop
Sleep (60000)
Send ("{TAB 2}")
Send ("{SPACE}")
Send ("{TAB}")
Send ("{ENTER}")

;Don't participate in Virus Report thing
Sleep (55000)
Send ("{TAB 4}")
Send ("{DOWN}")
Send ("{ENTER}")

;Sometimes setup hangs here a few seconds too
Sleep (9000)
Send ("{ENTER}")

;Kills the Setup Update Dialogue
Sleep (20000)
WinKill("McAfee Product")

;sets Mcafee Security Center as Default Security Center
WinWaitActive( "McAfee SecurityCenter" )
Send ("{ENTER}")

;Tour for McAfee
WinWaitActive( "McAfee SecurityCenter" , "< Back")
Send ("!{F4}")
EXIT