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.McGrath at leeds.ac.uk<mailto:J.P.McGrath at leeds.ac.uk>> Date: Fri, 11 Nov 2011 13:36:51 +0000 To: "'simon.begin at institutsmq.qc.ca<mailto:'simon.begin at institutsmq.qc.ca>'" <simon.begin at institutsmq.qc.ca<mailto:simon.begin at institutsmq.qc.ca>>, "wpkg-users at lists.wpkg.org<mailto:wpkg-users at lists.wpkg.org>" <wpkg-users at lists.wpkg.org<mailto:wpkg-users at 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-bounces at lists.wpkg.org<mailto:wpkg-users-bounces at lists.wpkg.org> [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of simon.begin at institutsmq.qc.ca<mailto:simon.begin at institutsmq.qc.ca> Sent: 11 November 2011 13:35 To: wpkg-users at lists.wpkg.org<mailto:wpkg-users at 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 ?? |