How does one add a new AV Uninstall

Article:HOWTO10515  |  Created: 2009-08-21  |  Updated: 2011-03-28  |  Article URL http://www.symantec.com/docs/HOWTO10515
Article Type
How To



Question
How does one add a new Anti Virus definition to the uninstall script for a AV migration

Answer

Symantec Endpoint Protection Integration Component supports the removal of a number of anti-virus programs. However it has been noted that there may be some additional programs that are not included in the supported list.

Although the supported list includes several popular Anti-Virus programs, it is not possible to test and support the removal of all competative products. The following is provided as a template to assist in the addition of  products to the removal script, however any such modifications are not supported by Symantec's support team and the following is provided only as an example of how one might go about adding additional details to the script.

DISCLAIMER: One should only attempt this if they are familiar with xml and scripting, otherwise please contact our professional services team to provide this and other services. Further review of the shipping xml may be needed to understand the information provided below.

PLEASE REMEMBER: As modifications are not supported by our normal support infrastucture, in order to return to support for this item, the xml must be returned to it's original state. For this reason, before any modifications are made to any files mentioned in this Knowledgebase Article, a backup of the original should be made.

The following is a  guideline to the process of adding additional AV products to the uninstall process.

 

To support new antivirus un-install, changes need to be done in "AVDetectNUn-install.xml". This file resides at path ..\NSCap\bin\Win32\X86\Symantec Endpoint Protection\Uninstall Package

 


Below is the guideline to update XML file to support new AV uninstall.

To support new antivirus un-install, changes need to be done in "AVDetectNUn-install.xml". This file resides at path ..\NSCap\bin\Win32\X86\Symantec Endpoint Protection\Uninstall Package

Add a new node in "AVDetectNUn-install.xml" as shown in sample below.
Basic child nodes need to be added such as "detectionRule" and "uninstall"

<antiVirus name="Symantec Endpoint Protection Client11 RU5 Beta"
version="11.0">
 <detectionRule>
  <registrypath="HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{4155A099-AB8F-4AC1-A5E8-4FC8063410CC}" key="UninstallString"> </registry>
 </detectionRule>
 <unInstall>
  <process>
   <step id="1" type="msi">
    <![CDATA[
    function executeExe()
    {
     return
"%windir%\\system32\\msiexec.exe /x
{4155A099-AB8F-4AC1-A5E8-4FC8063410CC} /qn REBOOT=SUPPRESS";
    }
    ]]>
   </step>
  </process>
 </unInstall>
</antiVirus>

Once saved, the "Altiris Service" on the NS will need to be restarted.


Legacy ID



48701


Article URL http://www.symantec.com/docs/HOWTO10515


Terms of use for this information are found in Legal Notices