http://bugs.winehq.org/show_bug.cgi?id=21362
Summary: Windows 7 Platform SDK can't set itself as the default in Visual C++ 2005? Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
http://dev.chromium.org/developers/how-tos/build-instructions-windows says
-- snip -- Install Visual C++ 2005. ... Install Windows 7 SDK. ... Integrate the SDK with Visual Studio: Start > All Programs > Microsoft Windows SDK > Visual Studio Registration > Windows SDK Configuration Tool. If this program crashes, try running it from the command line with: windowssdkver -version:v7 -legacy -- snip --
So I did $ sh winetricks psdkwin7 vc2005trial being careful to only install the basic C++ stuff, then $ cd ~/.wine/drive_c/"Program Files/Microsoft SDKs/Windows/v7.0/Setup" $ wine windowssdkver -version:v7 -legacy
This failed with the message
The Windows SDK Configuration tool was unable to set this version of the SDK as the current version. Please verify the selected version. Press return key to exit....
I'll attach a +relay,+seh,+service log.
http://bugs.winehq.org/show_bug.cgi?id=21362
--- Comment #1 from Dan Kegel dank@kegel.com 2010-01-13 19:39:40 --- http://social.msdn.microsoft.com/Forums/en/windowssdk/thread/5ff23788-bd70-4... appears to explain how the tool works, and helpfully mentions that you have to run Visual C++ 2005 once first. Sadly, running devenv once with $ cd ~/.wine/drive_c/"Program Files/Microsoft Visual Studio 8/Common7/IDE" $ wine devenv didn't seem to help.
(See also http://blogs.msdn.com/windowssdk/archive/2008/03/01/integrating-windows-sdk-... )
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?
http://bugs.winehq.org/show_bug.cgi?id=21362
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Windows 7 Platform SDK |Windows 7 Platform SDK |can't set itself as the |install fails to set |default in Visual C++ 2005? |important registry keys?
--- Comment #3 from Dan Kegel dank@kegel.com 2010-02-03 15:51:49 --- Changing description to reflect why tool fails.
http://bugs.winehq.org/show_bug.cgi?id=21362
--- Comment #4 from Dan Kegel dank@kegel.com 2010-02-03 17:56:06 --- After setting those registry keys, setting SDK version with the tool still fails with -legacy, but succeeds without it.
http://bugs.winehq.org/show_bug.cgi?id=21362
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21362
--- Comment #5 from Austin English austinenglish@gmail.com 2013-08-13 16:31:35 CDT --- Still in 1.7.0. Have you tried installing on windows with the same settings? Maybe it only sets those keys if the full package is installed?