; LiveUpd.kix, Version 2.01 ; Run Symantec's LiveUpdate utility unattended ; Written by Rob van der Woude ; http://www.robvanderwoude.com ; Start GUI style LiveUpdate program. ; Select one of the 2 command lines below, LUALL.EXE is for ; general use, VPDN_LU.EXE for Norton AntiVirus updates only. ; Adjust path if necessary. RUN "C:\PROGRA~1\SYMANTEC\LIVEUPDATE\LUALL.EXE" ; RUN "C:\PROGRA~1\NAVNT\VPDN_LU.EXE" ; Press "Next" (Alt+N) using SendKeys function IF SETFOCUS( "LiveUpdate" ) = 0 $RC = SENDKEYS( "+N" ) ENDIF ; Wait 30 seconds. ; Adjust interval for slow Internet connections !!! SLEEP 30 ; For VPDN_LU.EXE: ; Press "Finish" (Alt+F) using SendKeys function ; IF SETFOCUS( "LiveUpdate" ) = 0 ; $RC = SENDKEYS( "+F" ) ; ENDIF ; For LUALL.EXE: ; Press "Enter" ("OK" when finished, otherwise ; "Cancel", so don't choose your interval too short) IF SETFOCUS( "LiveUpdate" ) = 0 $RC = SENDKEYS( "{ENTER}" ) ENDIF