Using regedit
one can easily check the current version of .NET Framework installed on Windows, by looking at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
and reading the Release
value.
If your prerequisities are .Net 4.5.2, you can check that Release
value is the one for 4.6, 4.6.1, 4.6.2. But it doesn't look very safe to me. What if 4.6.3 or 4.7 is released?
Is it fail safe to check that Release
value is greater than the one for 4.5.2? I can't find anything from Microsoft saying that.