<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
     id="mitkerberos322"
     name="MIT Kerberos"
     revision="2"
     priority="920">

     <check type="uninstall" condition="exists" path="MIT Kerberos for Windows (32-bit) 3.2.2" />
     <check type="registry"  condition="equals" path="HKLM\SOFTWARE\MIT\NetIDMgr\PluginManager\Plugins\Krb4Cred\Disabled" value="1" />
     <check type="file"      condition="exists" path="%WINDIR%\krb5.ini" />

     <install cmd='"%SOFTWARE%\MITKerberos\KFW\3.2.2\install.bat"'>
       <exit code="0"    reboot="true" />
       <exit code="3010" reboot="true" />
     </install>

     <upgrade cmd='"%SOFTWARE%\MITKerberos\KFW\3.2.2\install.bat"'>
       <exit code="0"    reboot="true" />
       <exit code="3010" reboot="true" />
     </upgrade>

     <remove cmd='"%SOFTWARE%\MITKerberos\KFW\3.2.2\remove.bat"'>
       <exit code="0"    reboot="true" />
       <exit code="3010" reboot="true" />
     </remove>

</package>

</packages>
