blah hadn't planned on supporting this script any more....but oh well.
Note I don't own or have a copy of the software to test against...since this was written for my brother a while back.
CODE
; Serial Number
$SN_1 = "*****-*****-*****-*****"
Run ( @ProgramFilesDir & "\Softwin\BitDefender8\bdmcon.exe" )
; Splash Screen
$Title = "BitDefender 8 Professional Plus - Evaluation"
WinWaitActive ( $Title )
ControlClick ( $Title , "" , "Button1" )
; Registration
$Title = "BitDefender 8 Professional Plus - Registration"
WinWaitActive ( $Title )
$SN = StringSplit( $SN_1 , "-" )
ControlSetText ( $Title , "" , "Edit1" , $SN[1] )
ControlSetText ( $Title , "" , "Edit2" , $SN[2] )
ControlSetText ( $Title , "" , "Edit3" , $SN[3] )
ControlSetText ( $Title , "" , "Edit4" , $SN[4] )
ControlClick ( $Title , "" , "Button1" )
; Online #1
$Title = "Online Registration"
WinWaitActive ( $Title )
ControlClick ( $Title , "" , "Button3" )
ControlClick ( $Title , "" , "Button2" )
; Online #2
WinWaitActive ( $Title , "OK" )
ControlClick ( $Title , "OK" , "Button1" )
EXIT