Getting started in Windows

Before starting to use the KAV SDK in your Windows-based solution, several preliminary steps should be performed.

To get the KAV SDK ready for use:

  1. Before installing the KAV SDK, verify that your computer meets the system requirements listed in section "System requirements".
  2. [optional] Remove the UniArc.ppl file from the KAV SDK package contents.

    You might want not to use this module in order to decrease RAM usage. For more information, see section "Disabling the UniArc plugin".

  3. Extract the package contents into the folder where your application will use it (the SDK folder).
  4. Verify that license KEY and KLI files available in the SDK folder.

    The KAV SDK is delivered together with license files that grant you a permission to use the library for until the expiration date, a date when the license period expires. To ensure uninterrupted protection, it is recommended that you renew the license and obtain the new license files before the expiration date. For more details, see section "Licensing".

  5. Install the Updater SDK.

    The Updater SDK including the documentation on the Updater SDK API is delivered as a separate package.

    Please install KAV SDK and Updater SDK to separate locations.

  6. If you are going to use real time protection functions, install the mail, file and Proactive Defense monitor drivers by using the installation utility located at the %SDK_folder%/install folder where %SDK_folder is defined in the step 3. For more information on drivers, see section "Drivers".
  7. [optional] Enable cleanup

    This step is performed only for desktop integrations. It is not recommended to enable cleanup when implementing integration solutions for gateways. Desktop integrations are only supported for in-process integration mode.

    If you are deploying KAV SDK components on a desktop version of Windows platform, it is required that you enable cleanup. Cleanup is enabled by running cleanup.reg and cleanup64.reg files on x86 and x64 operating systems correspondingly.

  8. Run the !reg32(64).bat file even if you are not going to use Mail Monitor or Web Monitor. This file is located at the %SDK_folder% folder where %SDK_folder% is defined in the step 3.

    Using KAV SDK without importing registry settings (mail.reg) does not guarantee operability of the product or its components and functions and is considered as improper use of the product, however exceptions exist. When settings are not imported, only the following functions work at full capacity:

  9. Specify a location of the malware definition database to be used by the KAV Engine. Do one of the following:
    • Leave the default path: %SDK_folder%/bin/bases

      where %SDK_folder% is defined in the step 3.

    • Create a folder with a different path.

      This folder is specified at the initialization stage of KAV SDK. For more information, see section "Initializing".

  10. Place malware definition database files to the location specified in the previous step. Do one of the following:
    • Download latest version of malware definition database by using Updater SDK.
    • Leave anti-virus database delivered in the KAV SDK package.
  11. Navigate to the %SDK_folder%/include folder where %SDK_folder% is defined in the step 3.
  12. Include the following files into your application project:
    • kave8_dll_loader.cpp
    • kave8_dll_loader.h
    • kave8_def.h

    Please specify the windows_compatibility.manifest file found in the .\samples folder shipped with distribution package of KAV SDK.

The KAV SDK is ready for use.

Some malware (for example, Sinowal trojan) can be removed only if all components of the anti-virus database are present.

Page top