Office97 Install issue

Steven Edwards steven at codeweavers.com
Sat Sep 10 16:51:37 CDT 2005


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





More information about the wine-devel mailing list