http://bugs.winehq.org/show_bug.cgi?id=32886
Bug #: 32886 Summary: Inconsistent registry keys Product: Wine Version: 1.5.22 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sworddragon2@aol.com Classification: Unclassified
There are cases in which Wine does create Windows XP registry keys but is showing Windows 7 in winecfg. Here is a way to reproduce this:
Create a new profile with a manually created system.reg with the following content:
WINE REGISTRY Version 2
#arch=win64
[Software\Microsoft\Windows NT\CurrentVersion] "CSDVersion"="Service Pack 1" "CurrentBuildNumber"="7601" "CurrentVersion"="6.1" "ProductName"="Microsoft Windows 7"
[System\CurrentControlSet\Control\ProductOptions] "ProductType"="WinNT"
If winecfg is started the first time it will configure the rest of the registry keys. But although winecfg is now showing Windows 7 [Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion] and [System\CurrentControlSet\Control\Windows] have got Windows XP entries. To be precise a diff looks like this:
--- a/system.reg +++ a/system.reg @@ -35201,12 +35201,12 @@ "www"="http://"
[Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion] -"CSDVersion"="Service Pack 1" -"CurrentBuildNumber"="7601" +"CSDVersion"="Service Pack 3" +"CurrentBuildNumber"="2600" "CurrentType"="Uniprocessor Free" -"CurrentVersion"="6.1" +"CurrentVersion"="5.1" "InstallDate"=dword:4be5019a -"ProductName"="Microsoft Windows 7" +"ProductName"="Microsoft Windows XP" "RegisteredOrganization"="" "RegisteredOwner"="" "SystemRoot"="C:\windows" @@ -35808,7 +35808,7 @@ [System\CurrentControlSet\Control\VMM32Files]
[System\CurrentControlSet\Control\Windows] -"CSDVersion"=dword:00000100 +"CSDVersion"=dword:00000300
[System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts] "FIXEDFON.FON"="vgafix.fon"
http://bugs.winehq.org/show_bug.cgi?id=32886
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2013-02-04 14:01:01 CST --- If you are going to create registry keys by hand you need to create all of them.
http://bugs.winehq.org/show_bug.cgi?id=32886
sworddragon2@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #2 from sworddragon2@aol.com 2013-02-04 14:49:32 CST --- The problem is that the GUI is showing Windows 7 but the core is creating Windows XP registry keys. There is definitely something defect.
http://bugs.winehq.org/show_bug.cgi?id=32886
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru 2013-02-04 20:57:27 CST --- (In reply to comment #2)
The problem is that the GUI is showing Windows 7 but the core is creating Windows XP registry keys. There is definitely something defect.
The defect is in the logic that manually creates system.reg.
http://bugs.winehq.org/show_bug.cgi?id=32886
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru 2013-02-04 20:58:21 CST --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=32886
sworddragon2@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #5 from sworddragon2@aol.com 2013-02-05 00:54:57 CST ---
The defect is in the logic that manually creates system.reg.
If Wine can't handle this then the code is unstable there. One part of Wine does Windows 7 actions and another part Windows XP actions. If you don't accept this as a bug see it as a feature request.
http://bugs.winehq.org/show_bug.cgi?id=32886
sworddragon2@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement
http://bugs.winehq.org/show_bug.cgi?id=32886
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #6 from Dmitry Timoshkov dmitry@baikal.ru 2013-02-05 01:01:15 CST --- (In reply to comment #5)
The defect is in the logic that manually creates system.reg.
If Wine can't handle this then the code is unstable there. One part of Wine does Windows 7 actions and another part Windows XP actions. If you don't accept this as a bug see it as a feature request.
There is nothing to fix on Wine side, fix your code that creates broken registry.
http://bugs.winehq.org/show_bug.cgi?id=32886
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Dmitry Timoshkov dmitry@baikal.ru 2013-02-05 01:01:30 CST --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=32886
sworddragon2@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #8 from sworddragon2@aol.com 2013-02-05 01:05:23 CST ---
There is nothing to fix on Wine side, fix your code that creates broken registry.
Well, the code can be enhanced there. Just let this ticket open because maybe somebody want to do this in the future. It is an advantage-only feature request from which some users can benefit :)
http://bugs.winehq.org/show_bug.cgi?id=32886
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #9 from Dmitry Timoshkov dmitry@baikal.ru 2013-02-05 01:09:32 CST --- If INVALID status doesn't persuade you then let's close it as WONTFIX.
http://bugs.winehq.org/show_bug.cgi?id=32886
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Dmitry Timoshkov dmitry@baikal.ru 2013-02-05 01:09:55 CST --- Closing. Do not reopen.
http://bugs.winehq.org/show_bug.cgi?id=32886
--- Comment #11 from sworddragon2@aol.com 2013-02-05 01:12:42 CST ---
Are you maybe working for CodeWeavers that you dislike such tickets that could > hurt the reputation of Wine?