http://bugs.winehq.org/show_bug.cgi?id=21362
--- Comment #2 from Dan Kegel dank@kegel.com 2010-02-03 14:48:39 --- Interestingly, wine windowssdkver -version did *not* fail; rather, it said "There are no Windows SDKs installed on this machine." +reg showed it digging around in the registry.
Setting the keys
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows] "CurrentVersion"="v7.0" "CurrentInstallFolder"="C:\Program Files\Microsoft SDKs\Windows\v7.0\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0] "InstallationFolder"="C:\Program Files\Microsoft SDKs\Windows\v7.0\" "ProductVersion"="7.0.7600.16385.40715" "ProductName"="Microsoft Windows SDK for Windows 7 (7.0.7600.16385.40715)"
made the tool happy enough to be able to list v7.0 as an installed version, yay!
So why aren't those registry entries set when Windows 7 SDK is installed?