Our application checks for the installed version of the Visual C++ redistributable by looking at the Installed Registy key using (for the 2010 version):
Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86");
I need to extend the check for Visual C++ redistributable 2017, and I need to be able to distinguish it from the 2015 version. However, both versions are under ...\VisualStudio\14.0\VC\..., so I need to change which keys to check for.
I presume I can look at the Minor key that gives the minor version of the installed redistributable. But I don't have an exhaustive list of which minor version falls under 2015/2017. I know minor version 0 is 2015 and 11 is 2017, but I don't know if there were more minor versions released. If there are, I'd like to know which minor version is the "cutoff" between 2015 and 2017.