1 Reply Latest reply on Feb 21, 2013 2:11 PM by Lawrence Garvin

    Foxit Reader update package tries (and fails) to update Enterprise Foxit Reader

    Andrew M

      The Foxit Reader 5.4.5.0124 (Upgrade) package erroneously tries to upgrade installations of Enterprise Foxit Reader, but fails to do so. Because the applicability rules evaluate TRUE for an Enterprise installation, but the installed rules do not, the client attempts to install this patch over and over again.

       

      It appears that this package runs into the behavior quirk of the "File version with registry value" rule discussed in the thread File Version with Registry Value. The package tests for file version of a file from an uninstall registry key that does not exist on a system with the Enterprise edition installed, so that rule evaluates TRUE. The second rule tests for the existence of a different registry key under HKLM/Software/, which exists on systems with either edition of Foxit Reader installed, therefore this package erroneously evaluated as Needed on a system with the Enterprise edition installed.

       

      Adding a third rule to test for the existence of the registry key in the first rule should resolve the issue with this package, but it would be great to also have a package that could update the Enterprise edition (Phantom PDF updates would be awesome too).

       

      -<sdp:ApplicabilityRule SchemaVersion="1.0">

      -<lar:And>

      <bar:FileVersionPrependRegSz Key="HKEY_LOCAL_MACHINE"Subkey="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Foxit Reader_is1"Value="InstallLocation"RegType32="true"Path="Foxit Reader.exe"Comparison="LessThan"Version="5.4.5.124"/>

      <bar:RegKeyExists Key="HKEY_LOCAL_MACHINE"Subkey="SOFTWARE\Foxit Software"RegType32="true"/>

      </lar:And>

      </sdp:ApplicabilityRule>

       

      Message was edited by: Andrew M