Does anybody know how to check in a WIX project, if the actuall C++ redistributable package is installed or not? This link describes the serveral product IDs, but there is a problem with them. They change with every update of a C++ redist package. Based on that I've to apapt my checks in the WIX project every time a new VC redist package update is released, which is not a useable solution.
I want to use the RegistrySearch
WIX element to solve this problem. Therefore I need to know a registry key that doesn't change if a newer version of a C++ redist package is installed. I've also checked the registry key described in this link, but no one seems to be reliable.
Visual Studio 2013/2015 will add additional registry keys:
They also include keys like
Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12
. These keys will point to the currently installed redist packages, and will be removed/added when you install a redist package.