http://bugs.winehq.org/show_bug.cgi?id=26764
Summary: winecfg is picking up the wrong Windows version Product: Wine Version: 1.3.17 Platform: x86-64 URL: http://source.winehq.org/source/programs/winecfg/appde faults.c?v=wine-1.3.17#L38 OS/Version: Linux Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: kennybobs@o2.co.uk
1. Open winecfg 2. Select Windows 7 3. OK to close 4. Open winecfg
2008R2 is selected.
The problem appears to be that winecfg is pulling the build version from the registry - but different versions of Windows can use the same kernel and hence have the same build number (such as 7 and 2008R2).
build_str = get_reg_key( HKEY_LOCAL_MACHINE, szKeyNT, "CurrentBuildNumber", NULL );
isn't enough information for winecfg to know which version you selected last time.
A +winecfg trace shows this happening.
This has only become obvious now 2008R2 has been added, but XP x64 SP2 and 2008 SP2 will suffer the same fate (when added).
What I can make out from the code it seems to store szVersion but doesn't retrieve it. Obviously, I have no idea how to fix it or I would have sent a patch.
http://bugs.winehq.org/show_bug.cgi?id=26764
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #1 from André H. nerv@dawncrow.de 2011-04-16 06:55:49 CDT --- just sent a fix: http://www.winehq.org/pipermail/wine-patches/2011-April/100990.html
http://bugs.winehq.org/show_bug.cgi?id=26764
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=26764
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from André H. nerv@dawncrow.de 2011-04-19 12:16:38 CDT --- got in http://source.winehq.org/git/wine.git/commit/5ad5a190274a1926f6746ccad92bfe0... should now be fixed
http://bugs.winehq.org/show_bug.cgi?id=26764
--- Comment #3 from Ken Sharp kennybobs@o2.co.uk 2011-04-19 21:31:37 CDT --- Certainly is.
I'll just drop this here in case it comes up: http://code.google.com/p/winetricks/issues/detail?id=37
http://bugs.winehq.org/show_bug.cgi?id=26764
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2011-04-29 13:16:08 CDT --- Closing bugs fixed in 1.3.19.
http://bugs.winehq.org/show_bug.cgi?id=26764
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5ad5a190274a1926f6746ccad92 | |bfe02005036c6