[wpkg-users] logical check "and"

le dahut le.dahut at laposte.net
Fri Jan 15 10:56:37 CET 2016


Hello.

I've read :
http://wpkg.org/Packages.xml#Logical_Conditions
and :
http://wpkg.org/Logical_tests

What is the difference between :
1)
   <check type="logical" condition="and" >
     <check type="uninstall" condition="versiongreaterorequal" 
path="Adobe Flash Player .+ ActiveX.*"    value="%version_activex%" />
     <check type="uninstall" condition="versiongreaterorequal" 
path="Adobe Flash Player .+ NPAPI.*"     value="%version_plugin%" />
   </check>

and :
2)
   <check type="uninstall" condition="versiongreaterorequal" 
path="Adobe Flash Player .+ ActiveX.*"    value="%version_activex%" />
   <check type="uninstall" condition="versiongreaterorequal" 
path="Adobe Flash Player .+ NPAPI.*"     value="%version_plugin%" />
?

For what I've understood both do the same, the two checks must return 
True for 1) or 2) to be True.

So why use a "and" logical condition ?


Thanks.
Regards.



More information about the wpkg-users mailing list