I couldn't get this to work either, on the newest WPKG RC, although some of the 
messages around the list said it would (or maybe it was a suggestion).
In the past, I've had to use it in the profile xml's, not the package xml's.

I've added a note to the below message – many more examples here : 
http://wpkg.org/Extended_host_attribute_matching
Andrew
From: Paul McGrath <j.p.mcgr...@leeds.ac.uk<mailto:j.p.mcgr...@leeds.ac.uk>>
Date: Fri, 11 Nov 2011 13:36:51 +0000
To: "'simon.be...@institutsmq.qc.ca<mailto:'simon.be...@institutsmq.qc.ca>'" 
<simon.be...@institutsmq.qc.ca<mailto:simon.be...@institutsmq.qc.ca>>, 
"wpkg-users@lists.wpkg.org<mailto:wpkg-users@lists.wpkg.org>" 
<wpkg-users@lists.wpkg.org<mailto:wpkg-users@lists.wpkg.org>>
Subject: Re: [wpkg-users] os="windows xp" in WPKG 1.2

Hi Simon,

For XP use os="windows.+5\.\d{1}\.\d{4}"
(AND WINDOWS 2000, SERVER 2003, ETC)

For Win7 use os="windows.+6\.\d{1}\.\d{4}"
(AND WINDOWS 8, SERVER 2008, ETC)

BW
Paul

From: 
wpkg-users-boun...@lists.wpkg.org<mailto:wpkg-users-boun...@lists.wpkg.org> 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of 
simon.be...@institutsmq.qc.ca<mailto:simon.be...@institutsmq.qc.ca>
Sent: 11 November 2011 13:35
To: wpkg-users@lists.wpkg.org<mailto:wpkg-users@lists.wpkg.org>
Subject: [wpkg-users] os="windows xp" in WPKG 1.2


Hi,
Working with I'm trying to separate packages that belongs to either Windows XP 
or Windows 7.

I packages.xml I add this line::
   <package
      os="windows xp"
      id="Java1.6.0_15"
      (...)
but it does not work. no info at all in debug.

I tried it in hosts.xml file, and it does work well ::
    <host name="pc.+" os="windows xp" profile-id="defaut" />

Is it supposed to work in packages.xml ??
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to