Hi, As some of you might know I really would like to see Office 97 be able to at least install and parts of it sort of work on Wine 1.0. One of the things I hope to contribute to the 1.0 effort is fixing this. I'm wondering if anyone could give me a pointer or two as to the problem. There are two issues with Winehq that prevent Office 97 from installing and I need help with issue #2 if anyone has ideas.
1. Wine needs to have the "PROCESSOR_ARCHITECTURE"="x86" string in the Key in HKLM\System\CurrentControlSet\Control\Session Manager\Environment
On CrossOver we are hard setting this (and we install in a Win98 bottle so it does not really matter) but for Winehq we need to properly detect and report the CPU due to Winehq default mode being Win2k. I'll try to make 30mins or so in the next couple of weeks to submit a patch that does this as I think I know where it needs to be implemented.
2. Wine is not properly handling some of the default values in key HKLM\System\CurrentControlSet\Control\Session Manager\Environment
If you notice from the diff CrossOver uses "%SystemRoot% where the default Wine system.reg had the values hard coded. My wifes Win2k box has these values set with "%SystemRoot% also. Is there a reason that Winehq is setup this way? Should they strings in the wine.inf just be changed for those values?
With the default Winehq registry you get a message box error that says something along the lines of "This setup program is not supported under your version of Windows"
-[System\CurrentControlSet\Control\Session Manager\Environment] 1126302066 -"ComSpec"="c:\windows\system32\wcmd.exe" -"PATH"="c:\windows\system32;c:\windows" -"ProgramFiles"="c:\Program Files" -"SYSTEMROOT"="c:\windows" -"TEMP"="c:\windows\temp" -"TMP"="c:\windows\temp" -"USERPROFILE"="c:\windows\profiles\sedwards" -"windir"="c:\windows" -"winsysdir"="c:\windows\system32"
+[System\CurrentControlSet\Control\Session Manager\Environment] 1126301456 +"ComSpec"=str(2):"%SystemRoot%\System\wcmd.exe" +"PATH"=str(2):"%SystemRoot%;%SystemRoot%\System" +"PROCESSOR_ARCHITECTURE"="x86" +"SystemDrive"="C:" +"SystemRoot"="C:\Windows" +"TEMP"=str(2):"%SystemRoot%\Temp" +"TMP"=str(2):"%SystemRoot%\Temp" +"USERPROFILE"="C:\windows\profiles\sedwards" +"windir"=str(2):"%SystemRoot%" +"winsysdir"=str(2):"%SystemRoot%\System"
So if anyone has any ideas I would appreciate feedback.
Thanks Steven
Am Samstag, den 10.09.2005, 17:51 -0400 schrieb Steven Edwards:
+[System\CurrentControlSet\Control\Session Manager\Environment] +"ComSpec"=str(2):"%SystemRoot%\System\wcmd.exe" +"PATH"=str(2):"%SystemRoot%;%SystemRoot%\System" +"PROCESSOR_ARCHITECTURE"="x86" +"SystemDrive"="C:" +"SystemRoot"="C:\Windows" +"TEMP"=str(2):"%SystemRoot%\Temp" +"TMP"=str(2):"%SystemRoot%\Temp" +"USERPROFILE"="C:\windows\profiles\sedwards" +"windir"=str(2):"%SystemRoot%" +"winsysdir"=str(2):"%SystemRoot%\System"
So if anyone has any ideas I would appreciate feedback.
IMHO, "wineprefixcreate" should be able to set "SystemDrive" and "SystemRoot" (maybe "profiles" and "temp" also).
The Profile-Directory changed since w2k (localiced version of: "%SystemDrive%\Documents and Settings")
Starting with W2k, the "TEMP" - Directory is relative to "USERPROFILE". (localiced version of: "%USERPROFILE%\Local Settings\Temp")
When I started with wine (in march), I changes wineprefixcreate to support additional options, but there where to much things fixed to "c:\windows" (including the Settings above).
See Also:
wineprefixcreate is fixed to "c:\windows" and english Names: http://bugs.winehq.org/show_bug.cgi?id=2844
Hi,
On Sun, 2005-09-11 at 13:18 +0200, Detlef Riekenberg wrote:
When I started with wine (in march), I changes wineprefixcreate to support additional options, but there where to much things fixed to "c:\windows" (including the Settings above).
See Also:
wineprefixcreate is fixed to "c:\windows" and english Names: http://bugs.winehq.org/show_bug.cgi?id=2844
If you still have your modified wineprefixcreate can you attach it to the bug? I will try to make some more time to play around with this in the coming week and keep my results posted there.
Thanks Steven
Am Montag, den 12.09.2005, 02:38 -0400 schrieb Steven Edwards:
See Also:
wineprefixcreate is fixed to "c:\windows" and english Names: http://bugs.winehq.org/show_bug.cgi?id=2844
If you still have your modified wineprefixcreate can you attach it to the bug?
Attachment created with comments in Bug #2844:
http://bugs.winehq.org/attachment.cgi?id=1025&action=view
Feel free to ask about Details.
Am Montag, den 12.09.2005, 19:32 +0200 schrieb Detlef Riekenberg:
Am Montag, den 12.09.2005, 02:38 -0400 schrieb Steven Edwards:
See Also:
wineprefixcreate is fixed to "c:\windows" and english Names: http://bugs.winehq.org/show_bug.cgi?id=2844
If you still have your modified wineprefixcreate can you attach it to the bug?
Attachment created with comments in Bug #2844:
Did you looked on the modifications?
What did you think about the "WINEDEBUG" - Support?
I learned in the meantime, that adding so many Features at the same Time was not a good Idea.