[wpkg-users] logical not with OS type?

Stefan Pendl stefan.pendl.71 at gmail.com
Mon Jan 16 14:51:34 CET 2012


Am 16.01.2012 14:47, schrieb David Petterson:
> Is there a way I can use the new features to NOT install a certain
> package on Windows XP 64-bit version?
>
> Can I use a logical NOT with the OS=value?
>

Yes, this is possible, see below.


'---code start (watch for line wraps)

<include package-id="JRE7">
     <condition>
         <check type="logical" condition="not">
             <check type="host" condition="os" value="5\.0\.\d{4}"/>
         </check>
     </condition>
</include>

'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the wpkg-users mailing list