How to to compare two file versions in the Condition field

When you use in a Condition field of a custom action a comparison between two file versions, for example "2.3.102.0" > "2.3.92.0", you will notice the result is FALSE because this is a string comparison. The same behavior occurs when using two property references instead of the versions. To perform a correct comparison of the versions (and not strings) an integer-like comparison is needed.

To achieve this, you have to use our dedicated Version Comparison Custom Action. All you have to do is to specify the first and second version (formatted type is supported in both fields) and a property that will store the result of the comparison:

Version comparison ca

This method will ensure a proper comparison between the two versions and the result propery can be used in Condition field of any custom action.