AVG

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This article covers the professional (paid-for) edition, but it should work on the AVG Free Edition

Business 2011[edit]

	<package 
	 id="avg" 
	 name="AVG 2011" 
	 reboot="false" 
	 priority="2">
		
		<check type="uninstall" condition="exists" path="AVG 2011" />
		
		<install cmd="%SOFTWARE%\avg_ipw_x86_all_2011_1204a3403.exe /ConfigFilePath=%SOFTWARE%\avg\AVGSetup.ini" />
                <remove cmd='"%PROGRAMFILES%\AVG\AVG10\avgmfapx.exe" /AppMode=SETUP /Uninstall /UILevel=Silent /DontRestart' />
	</package>

The ini looks like this (generate with AVG Network Installer):

LicenseKeyCoded=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
AppMode=setup
CompanyName=Company Name
UILevel=Silent
DontRestart
DisableWinFW
QuitIfInstalled
DataCenterCoded=XXXXXXXXXXXXX=
InstallToolbar=1
InstallFeatures=fea_AlertMg;fea_SysTool;fea_Emails__EMC;fea_OnlnSc;fea_lng_nl;fea_Office;fea_SetMgr;fea_Client;

Version 9[edit]

AVG 9 (professional) can easily be deployed via WPKG.

<package 
	id="avg" 
	name="AVG" 
	reboot="false" 
	priority="2">

        <!-- not sure if this check works... !-->
	<check type="uninstall" condition="exists" path="AVG 9" />

	<install cmd="%SOFTWARE%\avg\avg_ipw_stf_all_90_730a1834.exe /SCRIPT_FILE %SOFTWARE%\avg\AVGSetup.ini" />

	<remove cmd="" />
</package>

You should then use the AVG installation customizer to generate AVGSetup.ini. Here is an example one that works quite nicely;

LICNO_CODED: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Ow==" 
HIDE:
NO_WELCOME:
AUTOPROFILE: OFF
RESTART_DELAY: 600
NAME: "Your Company Name"
COMPANY: "Your Company Name"
DCPATH "your.central.admin.server.com:4158"
NOAVGTOOLBAR:
ADD_FEATURE: fea_AVG_ResidentShield
REMOVE_FEATURE: fea_AVG_Firewall
ADD_FEATURE: fea_AVG_Cl
REMOVE_FEATURE: fea_AVG_Bat_plugin
REMOVE_FEATURE: fea_AVG_Exchange_plugin
REMOVE_FEATURE: fea_AVG_EMC
REMOVE_FEATURE: fea_AVG_Antispam
REMOVE_FEATURE: fea_AVG_Office_2000_plugin
ADD_FEATURE: fea_AVG_HttpScanner
ADD_FEATURE: fea_AVG_SafeSurf
ADD_FEATURE: fea_AVG_SafeSearch
ADD_FEATURE: fea_AVG_AntiRootkit
ADD_FEATURE: fea_AVG_AlertManager
ADD_FEATURE: fea_AVG_SystemTools
REMOVE_FEATURE: fea_AVG_ExchangeServer_AS
REMOVE_FEATURE: fea_AVG_SharepointServer_AV
REMOVE_FEATURE: fea_AVG_ExchangeSmtpTransportAgent_EMC
REMOVE_FEATURE: fea_AVG_ExchangeRoutingTransportAgent_EMC
REMOVE_FEATURE: fea_AVG_ExchangeVSAPI_EMC
REMOVE_FEATURE: fea_AVG_IdentityShield
ADD_FEATURE: fea_AVG_NtfsChangeJournalCach