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?
-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to