I have been using:
<util:ProductSearch ProductCode="{13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}"
Variable="vc2013_x86_SP1" Result="state" />
or
<util:ProductSearch ProductCode="{13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}"
Variable="vc2013_x64_SP1" Result="state" Condition="VersionNT64" />
when it is detected as installed the variable is set to 5, so I install if
less than 5. Seems to work for me.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/V-C-2013-redist-detection-tp7596368p7596369.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users