3 Replies Latest reply on Dec 9, 2008 4:18 AM by Turift

    who can tell me how to edit agent script ? thanks

      I want to know ... how to edit the ... agent script

      I searched some scripts on internet ...like this :

      @echo off
      echo -- ePO Agent install --
      net use \\10.5.0.14 "user" /user:user
      "\\10.5.0.14\MCAinstall\McAfee Software\Virusscan 8.0i\setup.exe"
      copy \\10.5.0.14\mcainstall\sitelist.xml c:\ /y
      echo -- ePO sitelist.xml --
      set sys1=%ProgramFiles%\Network Associates\Common Framework\
      "%sys1%\frminst.exe" /install=agent /siteinfo=c:\sitelist.xml
      set sys1=
      @echo off
      echo -- ePO Agent active --
      set sys1=%ProgramFiles%\Network Associates\Common Framework\
      "%sys1%\cmdagent.exe" /p
      set sys1=

      but how to edit it ? i don't know that what "%sys1%" is ...

      and "set sys1=" ... i don't know effect

      in other EPO agent , some script like this :

      @FRAMEPKG /INSTALL=AGENT /USELANGUAGE=0804 /SITEINFO=SiteList.xml /S
      @"C:\Program Files\Network Associates\Common Framework\cmdagent" /c /e

      I use the command .... cmdagent /? many parameters ,and the frminst.exe has many parameters ....

      the sitelist.xml is like this :

      <?xml version="1.0" encoding="UTF-8"?>
      <ns:SiteLists xmlns:ns="naSiteList" LocalVersion="20030131002737" Type="Client" GlobalVersion="20050118205405">
      <SiteList Default="1" Name="Default">
      <FTPSite Name="NAIFtp" ID="NAIFtp" Server="ftp.nai.com:21" Enabled="1" Type="fallback">
      <RelativePath>CommonUpdater</RelativePath>
      <UserName>anonymous</UserName>
      <Password Encrypted="1">MQCBNesmh4xsoov84KA/i9ukpwRoD3RDId9bU+InCJ/abAFPM9B3Q==</Password >
      </FTPSite>
      <SpipeSite ID="{886727BD-8217-4B6D-BAE2-402F07EAB583}" Enabled="1" Type="master" Name="ePO_TESTING" Server="virus.sf-express.com:82" ServerName="virus.sf-express.com:82" ServerIP="XXX.XXX.XXX.XXX:82"><RelativePath>Software</RelativePath></SpipeSite> </SiteList>
      </ns:SiteLists>

      please tell me how to edit the script ... I really don't know. thank you very much ....