[wpkg-users] [Bug 75] New: File version check does not work properly
éric le hénaff
eric.le.henaff at ens.fr
Mon Oct 22 14:37:50 CEST 2007
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
bugzilla-daemon at bugzilla.wpkg.org 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: mangoo at wpkg.org
> ReportedBy: leon.hedding at ict.om.org
> QAContact: wpkg-users at lists.wpkg.org
>
>
> 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.
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list