In my wix installer, I want to check for a version of ESRI ArcMap which I can find by:
The value returned by the RegistrySearch element depends on the @Type
attribute value, as well as on the data type of that value in the registry. Hence, in case you specify raw
as a value of Type
attribute, the result you'll get will most likely contain a certain prefix. For instance, if it's REG_BINARY
you'll get the value prefixed with #
. You should consider this in the operations of comparison.
As for the string comparison in particular, I would use the substring operators supported by the MSI condition syntax. It supports 'starts with', 'ends with' and 'contains', which looks like the best way to identify your value 10.
somewhere in the value you receive in ARC10INSTALLED property.