I'm trying to run a custom action (delete a certain file) based on the windows version. I know how to check for the windows version:
<Condition Message="Windows version xxx required...">
<![CDATA[Installed OR (VersionNT >= 600)]]>
</Condition>
However, I do not want to display a message, but delete a file. I can't find an example on how to use such a condition to run oder not to run a custom action!