[WiX-users] [SPAM] Re: V C++ 2013 redist detection
I have been using: util:ProductSearch ProductCode={13A4EE12-23EA-3371-91EE-EFB36DDFFF3E} Variable=vc2013_x86_SP1 Result=state / Install when the variable is less than 5. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/V-C-2013-redist-detection-tp7596368p7596370.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] [SPAM] Re: V C++ 2013 redist detection
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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] [SPAM] Re: V C++ 2013 redist detection
On 14-Aug-14 17:59, Phill Hogland wrote: util:ProductSearch ProductCode={13A4EE12-23EA-3371-91EE-EFB36DDFFF3E} Variable=vc2013_x86_SP1 Result=state / I recommend against using a product code search: If a user has a later version of the runtime installed, it won't be detected. (The VC runtimes are almost always major upgrades.) In fact, I recommend against using any search for the VC runtime. They use the WixStandardBootstrapperApplication/@SuppressDowngradeFailure option, so you can safely always chain your desired VC runtime version. If it's outdated, nothing happens. -- sig://boB http://joyofsetup.com/ -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users