[wpkg-users] Is 1.8.20080.42104 < 2.0.0.14 ? true

Joe joe at freakyacres.com
Wed May 14 14:28:09 CEST 2008


I'm checking Firefox with the following rule:

<check type="file" condition="versionsmallerthan" path="%PROGRAMFILES%\Mozilla Firefox\firefox.exe" value="2.0.0.14"/>

WPKG shows this in debug mode:

Checking file version 1.8.20080.42104 is versionssmallerthan
(than) 2.0.0.14 - got result -1

Checking version of "c:\program files\mozilla firefox\firefox.exe'
: Is 1.8.20080.42104 < 2.0.0.14 ? true

Package 'Mozilla Firefox' (firefox): Already installed. Skipping.

Looking in the file properties, Firefox.exe has a "file version"
of 1.8.20080.42104 and a "program version" of 2.0.0.14.  WPKG
apparently reads the "file version".  WPKG is somehow figuring
out that ff is already installed but with the version discrepancy
I'm not sure how it does.  Can anyone lend any insight?



More information about the wpkg-users mailing list