Change the directories if needed. You should have something similar;
Inside the AVG7 folder you put extracted AVG setup files.
Then you have to make a file named avgsetup.ini and put the following in it:
HIDE: DONT_START_APPS: NO_WELCOME: LOG: "C:\AVG7INST.LOG" NAME: "UserName" COMPANY: "Company" LICNO: "Serial"
The AVG7 folder should now have the following;
I tried removing the text files but AVG wouldn't install so just leave them.
Then add this to your app install file;
ECHO. ECHO Installing AVG Anti-Virus 7.0.197... SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe" [COLOR=blue]%SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9 [/COLOR]
The part in blue is one line.
If you want to get more technical get the freeware app AVGADMIN 7.0.195
It's how I did it.