I'm checking the windows version in an installer (made with NSIS) by checking the following registry key:
HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" "CurrentVersion"
According to this post and this page from MSDN, the currentVersion number for Windows 10 should be 10.0.
I just installed the Windows 10 Pro Insider Preview and the version number given in the registry is still 6.3, instead of 10.10 as it should.
Is there another reliable way in registry to detect Windows 10?