[Bug 32349] New: Wine can't handle pre-configured files
http://bugs.winehq.org/show_bug.cgi?id=32349 Bug #: 32349 Summary: Wine can't handle pre-configured files Product: Wine Version: 1.5.18 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: sworddragon2(a)aol.com Classification: Unclassified I have manually created the file ~/.wine/system.reg with the following content: [Software\\Microsoft\\Windows NT\\CurrentVersion] 0 "CSDVersion"="Service Pack 1" "CurrentBuildNumber"="7601" "CurrentVersion"="6.1" "ProductName"="Microsoft Windows 7" Starting winecfg will show me Windows XP instead of Windows 7. But the most problem is that Wine doesn't now save any configurations anymore. The easiest solution would be if Wine would use this incremental configuration and fill the rest with the default values. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32349 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> 2012-12-02 03:36:11 CST --- It will work if you include the proper signature (not that I would recommend doing it this way). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32349 --- Comment #2 from sworddragon2(a)aol.com 2012-12-02 23:32:00 CST --- This example does work now: WINE REGISTRY Version 2 [Software\\Microsoft\\Windows NT\\CurrentVersion] 0 "CSDVersion"="Service Pack 1" "CurrentBuildNumber"="7601" "CurrentVersion"="6.1" "ProductName"="Microsoft Windows 7" [System\\CurrentControlSet\\Control\\ProductOptions] 0 "ProductType"="WinNT" After winecfg is called the first time it fills the rest with the default configurations. But there are some minor differences. For example the following will be missing if the file was pre-configured: [System\\CurrentControlSet\\Control\\Session Manager\\Environment] 1354512358 "NUMBER_OF_PROCESSORS"="6" "PROCESSOR_ARCHITECTURE"="AMD64" "PROCESSOR_IDENTIFIER"="AMD64 Family 16 Model 10 Stepping 0, GenuineIntel" "PROCESSOR_LEVEL"="16" "PROCESSOR_REVISION"="0a00" Is this normal that Wine doesn't fill these entries anymore if they are missing? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32349 --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2012-12-03 04:41:01 CST --- There shouldn't be anything missing. It works fine here. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32349 --- Comment #4 from sworddragon2(a)aol.com 2012-12-03 14:58:53 CST --- Then it is maybe a bug. Here are the exact steps to reproduce: 1. Rename your old profile (directory to your profile) if it exists. 2. Start winecfg and wait until the first configuration is done. 3. Change the operating system to Windows 7. 4. Press OK and wait until all Wine processes have finished. 5. Rename the profile ~/.wine to ~/.wine_old. 6. Create manually the file ~/.wine/system.reg with the following content: WINE REGISTRY Version 2 [Software\\Microsoft\\Windows NT\\CurrentVersion] "CSDVersion"="Service Pack 1" "CurrentBuildNumber"="7601" "CurrentVersion"="6.1" "ProductName"="Microsoft Windows 7" [System\\CurrentControlSet\\Control\\ProductOptions] "ProductType"="WinNT" 7. Start winecfg and wait until the first configuration is done. 8. Close winecfg and wait until all Wine processes have finished. 9. Remove the timestamps for easier comparing with "sed -i 's/\] [0-9]*/\]/g' .wine/*.reg && sed -i 's/\] [0-9]*/\]/g' .wine_old/*.reg". 10. Compare the files with "diff .wine_old/system.reg .wine/system.reg && .wine_old/user.reg .wine/user.reg && .wine_old/userdef.reg .wine/userdef.reg". It seems the major difference is that the architecture has changed which will logically result in a few changed registry keys. Without any pre-configured files Wine choosed #arch=win64 and with a pre-configured file #arch=win32 was choosen. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32349 --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2012-12-03 15:11:19 CST --- You'd have to add the appropriate #arch if you want it to be the same. I still don't see any evidence of a bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32349 --- Comment #6 from sworddragon2(a)aol.com 2012-12-03 15:13:00 CST --- I'm still wondering why Wine chooses a different architecture if the file is pre-configured or not. Why doesn't it chooses the same architecture in both cases? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32349 --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> 2012-12-03 15:14:06 CST --- A missing #arch is assumed to mean 32-bit, for backwards compatibility. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32349 sworddragon2(a)aol.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from sworddragon2(a)aol.com 2012-12-03 15:19:46 CST --- This sounds to be logic to me. Then all is working fine here and I'm closing the ticket. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org