Changes

Logical tests

696 bytes added, 04:33, 14 October 2010
no edit summary
</pre>
== embedded logical conditions ==
To meet the requirement of a more complex set of installation requirements, embedding logical checks can be useful.
 
<pre>
<check type="logical" condition="and">
<check type="logical" condition="not">
<check type="registry" condition="exists" path="HKELM\SOFTWARE\Mozilla\Mozilla Firefox\CurrentVersion" />
</check>
<check type="registry" condition="equals" path="HKLM\SOFTWARE\Macromedia\FlashPlayerPlugin\Version" value="10.1.85.3"/>
</check>
</pre>
This will check if Firefox exists and if Adobe Flash Plugin does not exist. Under these conditions you can install the plugin version of flash (as oppose to the active x version).
[[category:Documentation]]
Anonymous user