<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 10.00.9200.16618"></HEAD>
<BODY style="FONT: 10pt Segoe UI; MARGIN: 4px 4px 1px">
<DIV>Hi,</DIV>
<DIV>thank you for your answer. It helped me a lot.</DIV>
<DIV>Best regards.<BR><BR>>>> Paul McGrath <J.P.McGrath@leeds.ac.uk> 17.02.2014 21:56 >>><BR>Hi Adrian,<BR> with other multi options in attribute matching criteria I've been told before on this list to use pipe | and in brackets for some reason!<BR>This is one I use:<BR> <variable name="excludelist" value="^(limm-pc4060|limm-pc3171)$"/> <!-- Jo|May --><BR><BR> <condition><BR> <check type="logical" condition="not"><BR> <check type="logical" condition="or"><BR> <check type="host" condition="hostname" value="%excludelist%"/> </check><BR> </check><BR> </condition><BR><BR><BR>And another I use to NOT install Flash Player ActiveX in Windows 8, only Windows Vista and Windows 7:<BR> <install os="(6\.\d{1}\.\d{4}|6\.\d{0}\.\d{4})" cmd="msiexec /i "%INSTALLER%" /qn /norestart /L+* "%PROGRAMFILES%\installer.log" ALLUSERS=1" for="install" ><exit code='1722'/></install><BR><BR>Paul<BR>________________________________________<BR>From: wpkg-users-bounces@lists.wpkg.org [wpkg-users-bounces@lists.wpkg.org] On Behalf Of Adrian Valeanu [Adrian.Valeanu@idiada.com]<BR>Sent: 17 February 2014 16:14<BR>To: wpkg-users@lists.wpkg.org<BR>Subject: [wpkg-users] wpkg and ad groups problem<BR><BR>Hi,<BR>I try to deploy some software packages based on AD group membership.<BR>The computer is member in the groups s_wpkg_managed and s_gimp.<BR>In the hosts.xml I have it configured like this:<BR><host name=".+" groups="s_wpkg_managed" profile-id="standard" /><BR><host name=".+" groups="s_wpkg_managed,s_gimp" profile-id="gimp" /><BR>The logfile shows me that something goes wrong:<BR>2014-02-17 16:41:47, DEBUG : Host properties: hostname='wswin7024'|architecture='x64'|os='microsoft windows 7 professional, , sp1, 6.1.7601'|ipaddresses='192.168.10.29'|domain name='notforyou'|groups='Domänencomputer,s_wpkg_managed,s_tightvnc,s_gimp'|lcid='407'|lcidOS='407'<BR>2014-02-17 16:41:47, DEBUG : Comparing multi-valued attribute 'groups' with value 'Domänencomputer' using expression 's_wpkg_managed'.<BR>2014-02-17 16:41:47, DEBUG : Comparing multi-valued attribute 'groups' with value 's_wpkg_managed' using expression 's_wpkg_managed'.<BR>2014-02-17 16:41:47, DEBUG : Match for attribute 'groups' with value 's_wpkg_managed' found.<BR>2014-02-17 16:41:47, DEBUG : XML node with special host attribute match found: groups=s_wpkg_managed<BR>2014-02-17 16:41:47, DEBUG : Comparing multi-valued attribute 'groups' with value 'Domänencomputer' using expression 's_wpkg_managed,s_gimp'.<BR>2014-02-17 16:41:47, DEBUG : Comparing multi-valued attribute 'groups' with value 's_wpkg_managed' using expression 's_wpkg_managed,s_gimp'.<BR>2014-02-17 16:41:47, DEBUG : Comparing multi-valued attribute 'groups' with value 's_tightvnc' using expression 's_wpkg_managed,s_gimp'.<BR>2014-02-17 16:41:47, DEBUG : Comparing multi-valued attribute 'groups' with value 's_gimp' using expression 's_wpkg_managed,s_gimp'.<BR>2014-02-17 16:41:47, DEBUG : No value of 'groups' matched 's_wpkg_managed,s_gimp'. Skipping to next definition.<BR>2014-02-17 16:41:47, DEBUG : Could not match all attributes of XML node to current host. Skipping to next definition.<BR>2014-02-17 16:41:47, DEBUG : Profiles applying to the current host:|standard|<BR>2014-02-17 16:41:47, DEBUG : Getting profiles which apply to this node.<BR>2014-02-17 16:41:47, DEBUG : Initializing new log file: 'C:\Windows\TEMP\wpkg-wswin7024.log' in append mode.<BR><BR>As you see wpkg.js tries to match against 's_wpkg_managed,s_gimp' .<BR>The groups example at <A href="http://wpkg.org/Extended_host_attribute_matching">http://wpkg.org/Extended_host_attribute_matching</A> also separates the groups by comma.<BR>What am I doing wrong here? Have I misunderstood the purpose of the groups option?<BR>Bye<BR>-------------------------------------------------------------------------<BR>Hotel discounts, best prices: <A href="http://www.booking.com/index.html?aid=366545">http://www.booking.com/index.html?aid=366545</A><BR>-------------------------------------------------------------------------<BR>wpkg-users mailing list archives >> <A href="http://lists.wpkg.org/pipermail/wpkg-users/">http://lists.wpkg.org/pipermail/wpkg-users/</A><BR>_______________________________________________<BR>wpkg-users mailing list<BR>wpkg-users@lists.wpkg.org<BR><A href="http://lists.wpkg.org/mailman/listinfo/wpkg-users">http://lists.wpkg.org/mailman/listinfo/wpkg-users</A><BR></DIV></BODY></HTML>