[wpkg-users] condition="versiongreaterorequal"

Chris Wilcox not_rich_yet at hotmail.com
Mon Oct 26 16:31:04 CET 2009



> On 10/26/2009 08:06 AM, Chris Wilcox wrote:
> > Hi,
> >
> > I'm reviewing my plugin versions and after a previous e-mail to the
> > group I am looking at using the:
> >
> > condition="versiongreaterorequal"
> >
> > setting in the package xml files to ensure that a current or later
> > version of a given plugin is installed, mainly to remove issues is users
> > update plugins themselves at any stage.
> >
> > However I don't quite get the usage of it.
> >
> > For SunJava as an example, how would I create the check line? The
> > uninstall displayname is 'Java(TM) 6 Update 16' but I don't get how this
> > fits into the check line? Where do I get the version number from? There
> > is a 'version' registry key against Java which for 6 Update 16 is
> > 60000a0, is this what I use?
> 
> Chris,
> 
> Version checking in WPKG uses the "DisplayVersion" value in the 
> Uninstall registry. For Java 6 Update 16, this value is "6.0.160"

 

 

Cheers, missed that one!

 

So, even though the DisplayName is down as "Java(TM) 6 Update 16" would I be correct in using a check line as follows:

 

<check type="uninstall" condition="versiongreaterorequal" path="Java" value="6.0.160" />

 

Chris

 		 	   		  
_________________________________________________________________
Chat to your friends for free on selected mobiles
http://clk.atdmt.com/UKM/go/174426567/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20091026/b1a3e712/attachment-0002.html>


More information about the wpkg-users mailing list