<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<BR>> On 10/26/2009 08:06 AM, Chris Wilcox wrote:<BR>> > Hi,<BR>> ><BR>> > I'm reviewing my plugin versions and after a previous e-mail to the<BR>> > group I am looking at using the:<BR>> ><BR>> > condition="versiongreaterorequal"<BR>> ><BR>> > setting in the package xml files to ensure that a current or later<BR>> > version of a given plugin is installed, mainly to remove issues is users<BR>> > update plugins themselves at any stage.<BR>> ><BR>> > However I don't quite get the usage of it.<BR>> ><BR>> > For SunJava as an example, how would I create the check line? The<BR>> > uninstall displayname is 'Java(TM) 6 Update 16' but I don't get how this<BR>> > fits into the check line? Where do I get the version number from? There<BR>> > is a 'version' registry key against Java which for 6 Update 16 is<BR>> > 60000a0, is this what I use?<BR>> <BR>> Chris,<BR>> <BR>> Version checking in WPKG uses the "DisplayVersion" value in the <BR>> Uninstall registry. For Java 6 Update 16, this value is "6.0.160"<BR>
 <BR>
 <BR>
Cheers, missed that one!<BR>
 <BR>
So, even though the DisplayName is down as "Java(TM) 6 Update 16" would I be correct in using a check line as follows:<BR>
 <BR>
<check type="uninstall" condition="versiongreaterorequal" path="Java" value="6.0.160" /><BR>
 <BR>
Chris<BR><BR>                                         <br /><hr />Chat to your friends for free on selected mobiles. <a href='http://clk.atdmt.com/UKM/go/174426567/direct/01/' target='_new'>Learn more.</a></body>
</html>