Changes

Jump to: navigation, search

Logical tests

424 bytes added, 11:52, 24 September 2007
m
Other examples
= Other examples =
== two alternative entries in "Software Add/Remove" ==
Firefox can have a different entry in "Software Add/Remove":
* if version 2.0 was installed first, and then updated to 2.0.0.2, version shown will be still 2.0
</check>
== checking for a non existing file ==
Sometimes, it might be useful to use WPKG to actually remove the things (i.e., some addon/ads installed by the PC vendor).
 
We only want to run the script/program only if the files are still on the drive.
 
<pre>
<check type='logical' condition='not' >
<check type='file' condition='exists' path='c:\foo\bar' />
</check>
</pre>
[[category:Documentation]]

Navigation menu