Changes

Logical tests

683 bytes removed, 04:48, 14 October 2010
no edit summary
</check>
</pre>
 
== embedded logical conditions ==
To meet 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 DOES 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