Our installed is occasionally detecting the wrong version of Windows. (It detects version via built in Wise installer function to detect System Info and doesn't say HOW it does this).
So, I'm looking for another way to detect the Windows version. The Wise installer is pretty limited in it's ability to call Windows API functions so reading from the Registry or a specific file would be easier (of course then I have to map the file version to the Windows version).
I found this discussion thread: http://www.velocityreviews.com/forums/t513244-best-way-to-get-version-from-registry.html But it had no citations. So I'm not sure how dependable it would be.