same problem with revision like in
<package id="pdfcreator" name="PDFCreator" revision="9031" 
reboot="false" priority="0">
i had to change revision="09031"  to revision="9031" .
Some parameters seem to be compared as strings , others as numbers.
ELH

[EMAIL PROTECTED] a écrit :
> http://bugzilla.wpkg.org/show_bug.cgi?id=75
>
>            Summary: File version check does not work properly
>            Product: WPKG
>            Version: 0.9.10
>           Platform: PC
>         OS/Version: Windows XP
>             Status: NEW
>           Severity: enhancement
>           Priority: P2
>          Component: wpkg.js
>         AssignedTo: [EMAIL PROTECTED]
>         ReportedBy: [EMAIL PROTECTED]
>          QAContact: [email protected]
>
>
> When checking for a file version such as 0.60.0.0 for PuTTY.exe it fails the
> check for the file version because of the leading 0. It always thinks the
> software is installed.  When I have this exact text as follows it says
> "Bypassing installation of package PuTTY". I can change "blah" to "PuTTY" and
> get the same result.
>
> <check type="file" condition="versiongreaterorequal"
> path="%programfiles%\blah\blah.exe" value="0.60.0.0" />
>
> Failed install check using:
> versiongreaterorequal
> versionlessorequal 
> versionequalto 
>
> Correctly worked with:
> versionsmallerthan 
> versiongreaterthan
>
>
>   

-- 
Éric LE HÉNAFF
École normale supérieure - Centre de ressources informatiques
Informaticien, Ingénieur développements et systèmes auprès des bibliothèques de 
l'ENS

Préférez firefox! http://www.mozilla-europe.org/fr/

SVP, évitez de m'envoyer des attachements au format Word, Excel ou PowerPoint.
Préférez les formats rtf, csv, html ou pdf au lieu des formats word et excel.
Voir http://www.gnu.org/philosophy/no-word-attachments.fr.html pour plus
d'explications.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to