﻿<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright 1999-2023. Plesk International GmbH. All rights reserved. -->
<build confver="3.0" os_name="Windows-server" os_vendor="Microsoft" os_version="" os_arch="" environment="" build_dir="dist-windows" headers_file="" uninstall_support="true">
  <component name="kav" description="Kaspersky Anti-Virus SDK" version_packages="kav" classes="thirdParty">
    <requires>panel</requires>
    <requires>kaspersky-av</requires>
    <package file="kav-18.0.5570.msi" name="kav" version="18.0.5570" release="" arch="noarch" md5="a55a57a09dc73fa116512070596e2d6f" buildtime="" size="393814016">
      <requires>plesk-backend</requires>
      <detection property="installed.version">
        <read-msi-info target="VersionString" upgrade-code="{970BC5E0-E7A6-46C6-A8FF-2F8B58CAD96B}" />
      </detection>
      <detection property="installed.ProductCode">
        <read-msi-info target="ProductCode" upgrade-code="{970BC5E0-E7A6-46C6-A8FF-2F8B58CAD96B}" />
      </detection>
      <actions sequence="install" displayname="Installing Kaspersky Anti-Virus SDK...">
        <install-msi-package command-line="ADDLOCAL=ALL INSTALLDIR=&quot;[PLESK_INSTALLDIR]&quot; ALLUSERS=1 ARPSYSTEMCOMPONENT=1 REBOOT=R" />
        <execute program="[PLESK_INSTALLDIR]\admin\bin\defpackagemng.exe" working-dir="[PLESK_INSTALLDIR]\admin\bin" command-line="--update --type=antivirus --package=kav --fix" critical="false" />
      </actions>
      <actions sequence="upgrade" displayname="Upgrading Kaspersky Anti-Virus SDK...">
        <service-control name="kavehost" action="stop" condition-service-exist="true" critical="false" />
        <install-msi-package command-line="ADDLOCAL=ALL INSTALLDIR=&quot;[PLESK_INSTALLDIR]&quot; ALLUSERS=1 ARPSYSTEMCOMPONENT=1 REBOOT=R" />
        <execute program="[PLESK_INSTALLDIR]\admin\bin\defpackagemng.exe" working-dir="[PLESK_INSTALLDIR]\admin\bin" command-line="--update --type=antivirus --package=kav --fix" critical="false" />
      </actions>
      <actions sequence="remove" displayname="Uninstalling Kaspersky Anti-Virus SDK...">
        <remove-msi-package product-code="[installed.ProductCode]" command-line="REBOOT=R" />
        <execute program="[PLESK_INSTALLDIR]\admin\bin\defpackagemng.exe" working-dir="[PLESK_INSTALLDIR]\admin\bin" command-line="--update --type=antivirus --package=kav --fix" critical="false" />
      </actions>
    </package>
  </component>
  <removable_packages />
  <preferred_packages />
  <force_remove_packages />
</build>