Comodo Antivirus (Free)
From WPKG | Open Source Software Deployment and Distribution
This is a silent installer for Comodo Antivirus Free version 6 and 5 Download from here.
This configuration installs Antivirus, Defense+ and Sandboxing enabled. You can modify PKG_PARAMS to enable/disable some features. See CIS v4/v5/v6 Install Switches on community forums for switches.
Prerequisites
1. 7-zip
We assume software path: %SOFTWARE%\Security\cav_installer_3264_29.exe
Package file
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
<package
id="CAV"
name="COMODO AntiVirus"
revision="2013.05.15"
priority="150"
reboot="false">
<!-- Reference 7-zip here.
<depends package-id="7zip" />-->
<variable name="7zip" value="%PROGRAMFILES%\7-zip\7z.exe" />
<variable name="PKG_CAVINSTALLER" value="cavfree_installer_x86" architecture="x86" />
<variable name="PKG_CAVINSTALLER" value="cavfree_installer_x64" architecture="x64" />
<variable name="PKG_WEB_USER_SIGNATURE" value="3264" />
<variable name="PKG_CAVNAME" value="cav_installer_%PKG_WEB_USER_SIGNATURE%_29" />
<variable name="PKG_LOCAL_DIR" value="%TEMP%\%PKG_CAVNAME%" />
<variable name="PKG_INSTALL_MSI" value='%PKG_LOCAL_DIR%\cis\download\installs\xml_binaries\cis\cis_setup_x86.msi' architecture="x86" />
<variable name="PKG_INSTALL_MSI" value='%PKG_LOCAL_DIR%\cis\download\installs\xml_binaries\cis\cis_setup_x64.msi' architecture="x64" />
<variable name="PKG_PARAMS" value='EXECUTEACTION=INSTALL REBOOT=ReallySuppress RESTOREACTIVECONFIG=1 WEBINSTALL=1 CIS_LANGUAGE_NAME="English (United States) - By COMODO" CIS_LANGUAGE_ID=1033 INSTALLER_MODE=cavfree PRODUCT_TYPE=%PKG_CAVINSTALLER% WEB_USER_SIGNATURE="PKG_WEB_USER_SIGNATURE" INSTALLDIR="%PROGRAMFILES%\COMODO\COMODO Internet Security" SETOURDNSSERVER=2 HIDE_SECURITY_ALERTS=1 FWFEATURES=3 CLOUD_ANAL=0 IS_INSTALLER_MODE_IS_FREE=1 WEB_PRECONFIG_AV=1 WEB_EULA_PATH="%TEMP%\%PKG_CAVNAME%\cis\download\installs\installer_data\eula\eula_cavfree.rtf" ASKUSEREMAIL=0 WEBINSTALL=1' />
<!-- Check for other antivirus software. We don't want 2 antivirus programs on 1 computer. -->
<check type="uninstall" condition="exists" path="(COMODO Internet Security|AVG .*|Avira AntiVir.*|Kaspersky .*|Symantec .*|Microsoft Security Essentials|NOD32.*)" />
<!-- Install with the MSI (Extracts install to temp location and then deletes) -->
<install cmd='%comspec% /C start "" /WAIT "%7zip%" x %SOFTWARE%\Security\%PKG_CAVNAME%.exe -y -aoa -o%PKG_LOCAL_DIR%"'/>
<install cmd='msiexec /qn /L*v "%WPKG%\logs\CAV\%COMPUTERNAME%.txt" /i "%PKG_INSTALL_MSI%" %PKG_PARAMS%'>
<exit code="0" />
<exit code="3010" />
</install>
<install cmd='%comspec% IF EXIST "%PKG_LOCAL_DIR%" RMDIR /s /q "%PKG_LOCAL_DIR%"'>
<exit code="any" />
</install>
<upgrade include="install"/>
<remove cmd='msiexec /qn /x{D6AB1F5B-FED6-49A9-9747-327BD28FB3C7}}'>
<exit code="0" />
</remove>
</package>
</packages:packages>