How can I automate the installation (silent install) of the EventSentry agent, for example when automatically setting up (rolling out) servers or workstations? How can I manually install the EventSentry agent?

Article ID: 99
Category: Installation
Applies to: 2.92 to 3.1
Updated: 2016-02-22

Note: This article only applies to EventSentry v3.1 and earlier. See KB 297 for an updated version of this KB aricle.

In order to function correctly the EventSentry agent requires the following:

  • Working configuration in registry
  • Installed Service
  • Installed service executable
  • Installed dependencies (chartdir50.dll)

1) Export a working configuration from another server running the agent and save it to a file. The simplest way is to open the EventSentry Management console and choose File Export. Name the file eventsentry_svc.reg.

2) Copy the following files to a sub folder from where they can be copied/installed during the unattended server setup:

eventsentry_svc.reg
eventsentry_svc.exe
chartdir50.dll

3) Create a script file that runs the following commands (or execute the commands one-by-one from a command line):

For 32-bit Machines:

md %SYSTEMROOT%\system32\eventsentry
copy eventsentry_svc.reg %SYSTEMROOT%\system32\eventsentry
copy eventsentry_svc.exe %SYSTEMROOT%\system32\eventsentry
copy chartdir50.dll %SYSTEMROOT%\system32\eventsentry
cd %SYSTEMROOT%\system32\eventsentry
eventsentry_svc.exe /install
net start EventSentry

For 64-bit Machines:

md %SYSTEMROOT%\syswow64\eventsentry
copy eventsentry_svc.reg %SYSTEMROOT%\syswow64\eventsentry
copy eventsentry_svc.exe %SYSTEMROOT%\syswow64\eventsentry
copy chartdir50.dll %SYSTEMROOT%\syswow64\eventsentry
cd %SYSTEMROOT%\syswow64\eventsentry
eventsentry_svc.exe /install
net start EventSentry

4) Configure this script file to be run during your setup


The 'chartdir50.dll' file should be located in the 'C:\Program Files (x86)\EventSentry' directory (or 'C:\Program Files\EventSentry' on 32-bit systems) of your managment server. If for some reason it does not exist in that location it can be copied from the 'C:\WINDOWS\SysWow64\eventsentry' directory (or 'C:\WINDOWS\System32\eventsentry' directory on 32-bit systems) of your management server.