Here is a Kixtart script and batch file:
------------------Start------------------------------------
; kix32 (ver. 4.2) script
; ePOAgent.kix - Created on 11/24/2003 10:02
; last modified - 11/24/2003 14:49
; Install ePO Agent
;
CLS
SetConsole(hide)
; check to see if this is a W2K, XP, or NT 4 system
IF @INWIN=1
; check to make sure user has admin rights
IF Not InGroup('\\'+@WKSTA+'\Administrators') And @PRIV<>'Admin'
? 'This script requires admin rights to run...' ?
EXIT 1
ENDIF
ENDIF
; set the variables
$regbase='HKEY_LOCAL_MACHINE\SOFTWARE'
$agntver = ReadValue($regbase+'\Network Associates\ePolicy Orchestrator\Application Plugins\EPOAGENT3000','Version')
; for W2K, XP, or NT 4 systems, install new version if needed
IF @INWIN=1
SELECT
CASE
; you already have the latest version
$agntver='3.1.1.184'
EXIT 0
CASE
; you need to run the upgrade, continue on
$agntver<>'3.1.1.184'
SHELL '<INSTALLPATH>\!install.bat'
ENDSELECT
ENDIF
;messagebox ('Your agent version is '+$agntver+'.','ePO Agent Version',64)
:eof
-------------------------End-------------------------------
Batch file:
-------------------------Start------------------------------
@echo off
cls
echo *****************************************************************
echo * *
echo * Please wait while we install the ePO Agent files *
echo * *
echo * Ver 3.0.1 - Date=11/21/2003 *
echo * *
echo *****************************************************************
REM This line deletes agent events that could cause high CPU usage
del "c:\Documents and Settings\All Users\Application Data\Network Associates\Common Framework\AgentEvents\*.tef" >nul
REM Change the Agent Install Path for your network.
REM Make sure your sitelist.xml file is in the path.
<AGENTINSTALLPATH>\framepkg.exe /forceinstall /install=agent /silent /siteinfo=<AGENTINSTALLPATH>\sitelist.xml
"C:\Program Files\Network Associates\Common Framework\cmdagent.exe" /c
---------------------------------End------------------------