Uninstalling AVG
To remove AVG you will need to know the path to the installation, each major version may use a different path.
Create a Batch File to perform the silent uninstall
Add a line for each of the different paths to the avgmfaapx.exe
rem @echo off
rem uninstall AVG Protection
IF EXIST "C:\Program Files (x86)\AVG\AV\avgmfapx.exe" (
"C:\Program Files (x86)\AVG\AV\avgmfapx.exe" /Appmode=Setup /uninstall /uilevel=Silent /dontrestart
)
IF EXIST "C:\Program Files\AVG\AV\avgmfapx.exe" (
"C:\Program Files\AVG\AV\avgmfapx.exe" /Appmode=Setup /uninstall /uilevel=Silent /dontrestart
)
rem uninstall AVG 3544
IF EXIST "C:\Program Files (x86)\AVG\AVG2013\avgmfapx.exe" (
"C:\Program Files (x86)\AVG\AVG2013\avgmfapx.exe" /Appmode=Setup /uninstall /uilevel=Silent /dontrestart
)
IF EXIST "C:\Program Files\AVG\AVG2013\avgmfapx.exe" (
"C:\Program Files\AVG\AVG2013\avgmfapx.exe" /Appmode=Setup /uninstall /uilevel=Silent /dontrestart
)
exit
Create a Third Party template to run the script