OK, now we're getting somewhere. The winsetstate command does something, not quite sure what, but something! Found I had to put the command before every line or it wouldn't work. @SW_DISABLE breaks the install for some reason so i tossed that one. @SW_MINIMIZE minimizes the windows, but it has a weird flaw...you have to maximize some of the windows for a sec or it stalls at that point. if you click on the minimized window though, they pop up and the pop right back down again and the install continues. @SW_HIDE seems to make it most of the way through the install before stalling but I can't tell where it stops 'cause, well, the windows are hidden code follows: any ideas? Thanks again!
; Script Start - Add your code below here
run("avgsetup.exe")
WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE)
WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Welcome to the AVG Setup program")
send("!N")
WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE)
WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Agreement on Use of an AVG Free")
send("!A")
WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE)
WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "standard configuration, which ")
send("!S")
send("!N")
WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE)
WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "the e-mail sent to your e-mail")
send("!N")
WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE)
WinWaitActive("AVG 7.5 build 446 (2/21/2007)", "Please review the information")
send("!F")
WinSetState ("AVG 7.5 build 446 (2/21/2007)", "",@SW_HIDE)
WinWaitActive("AVG 7.5 build 446 (2/21/2007)", " has been successfully installed")
send("!O")
WinSetState ("AVG Free - First Run", "",@SW_HIDE)
WinWaitActive("AVG Free - First Run", "simple steps remain")
send("{SPACE}")
WinSetState ("AVG Free - First Run", "",@SW_HIDE)
WinWaitActive("AVG Free - First Run", "New virus threats appear often")
send("{SPACE}")
WinSetState ("AVG Free - First Run", "",@SW_HIDE)
WinWaitActive("AVG Free - First Run", "Set the priority level")
send("{SPACE}")
WinSetState ("AVG Free - First Run", "",@SW_HIDE)
WinWaitActive("AVG Free - First Run", "Would you like to scan")
send("{SPACE}")
WinSetState ("AVG Free - First Run", "",@SW_HIDE)
WinWaitActive("AVG Free - First Run", "After the registration you will")
send("{SPACE}")
WinSetState ("AVG Free - First Run", "",@SW_HIDE)
WinWaitActive("AVG Free - First Run", "YOUR COMPUTER IS PROTECTED")
send("{SPACE}")
WinWaitActive("AVG Free Edition - Test Center")
WinClose("AVG Free Edition - Test Center")