Hi all, I wish to ask you some advice about Wine and Micro$oft Office. I know this subject comes up every 10 sec, but I can't get Excel nor WinWord work properly. I must say I studied toroughly als faqs and archives I could find about this subjects. So I allready checked : * my X server is correctly installed, with ttf fonts ans so on.. * I have full acces to the windows partition where the programm is installed * I use a double-boot with NT, but I let Wine run its own windows inwtall * I already tried to re-install dcom95.exe (98 as well). (fyi, the install programm refuses to install the prg and says a newer version had been installed - I guess with wine install) * I tried installing Wine 20031016 and 20030911 from rpm and from src+compile+... Both M$ programms start and shout for MsCreate.dir. And it is impossible either to open nor to save a doc. (Actually dialog boxes i.e. open won't come up) Thanks in advance for your support. I need to have THESE working for 100% compatibility purposes at work. Or I would have to give up linux :( Christophe Info about my system RH9 running with kernel 2.4.20-8, X XFree86 Version 4.3.0 current Wine : 20030911 I attached my .wine/config file if you can have a look. When starting, I always get a (approx translation) "mscreate is not accessible ... maybe is it read-only file or the server (??) on which it is saved is not responding" It is maybe te reason why I also get :> err:clipboard:X11DRV_CLIPBOARD_QueryAvailableData Failed to cachetext/plain;charset=utf-8 property Then I have to click cancel : Basic functions are operative then. When I choose open in the file menu : nothing happens and I get in the console :> fixme:hook:NotifyWinEvent (5,0x10021,-3,0)-stub!-- NEU F?R ALLE - GMX MediaCenter - f?r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f?r Mail, Message, More! +++ -------------- next part -------------- WINE REGISTRY Version 2 [Drive A] "Path" = "/mnt/floppy" "Type" = "floppy" "Label" = "Floppy" "Filesystem" = "win95" "Serial" = "87654321" "Device" = "/dev/fd0" [Drive C] "Path" = "%HOME%/.wine/c" "Type" = "hd" "Label" = "MS-DOS" "Filesystem" = "win95" [Drive D] "Path" = "/mnt/cdrom" "Type" = "cdrom" "Label" = "CD-Rom" "Filesystem" = "win95" "Device" = "/dev/cdrom" [Drive E] "Path" = "/mnt/disk/wnotes" "Type" = "hd" "Label" = "Data" "Filesystem" = "win95" [Drive G] "Path" = "/tmp" "Type" = "hd" "Label" = "Tmp Drive" "Filesystem" = "win95" [Drive F] "Path" = "%HOME%" "Type" = "network" "Label" = "Home" "Filesystem" = "win95" [Drive Z] "Path" = "/" "Type" = "hd" "Label" = "Root" "Filesystem" = "win95" [wine] "Windows" = "c:\\windows" "System" = "c:\\windows\\system" "Temp" = "g:\\" "Profile" = "c:\\windows\\Profiles\\Administrator" "GraphicsDriver" = "x11drv" "ShellLinker" = "wineshelllink" # [wineconf] [Version] [DllOverrides] "oleaut32" = "builtin, native" "ole32" = "builtin, native" "commdlg" = "builtin, native" "comdlg32" = "builtin, native" "shell" = "builtin, native" "shell32" = "builtin, native" "shfolder" = "builtin, native" "shlwapi" = "builtin, native" "shdocvw" = "builtin, native" "advapi32" = "builtin, native" "msvcrt" = "native, builtin" "mciavi.drv" = "native, builtin" "mcianim.drv" = "native, builtin" "*" = "builtin, native" [x11drv] "AllocSystemColors" = "100" "PrivateColorMap" = "N" "PerfectGraphics" = "N" "Managed" = "Y" "UseDGA" = "Y" "UseXVidMode" = "Y" "UseTakeFocus" = "Y" "DXGrab" = "N" "DesktopDoubleBuffered" = "N" [fonts] "Resolution" = "96" "Default" = "-adobe-helvetica-" "DefaultFixed" = "fixed" "DefaultSerif" = "-adobe-times-" "DefaultSansSerif" = "-adobe-helvetica-" [FontDirs] [serialports] "Com1" = "/dev/ttyS0" "Com2" = "/dev/ttyS1" "Com3" = "/dev/ttyS2" "Com4" = "/dev/modem" [parallelports] "Lpt1" = "/dev/lp0" [devices] "Wine PostScript Driver" = "WINEPS,LPT1:" [psdrv] "ppdfile" = "/var/spool/lpd/lp1/lw2nt.ppd" [ppdev] [spooler] "FILE:" = "tmp.ps" "LPT1:" = "|lpr" "LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -" "LPT3:" = "/dev/lp3" [ports] [Debug] [registry] "LoadGlobalRegistryFiles" = "Y" "LoadHomeRegistryFiles" = "Y" "LoadWindowsRegistryFiles" = "Y" "WritetoHomeRegistryFiles" = "Y" "SaveOnlyUpdatedKeys" = "Y" [Tweak.Layout] "WineLook" = "Win95" [Clipboard] "ClearAllSelections" = "0" "PersistentSelection" = "1" [afmdirs] "1" = "/usr/share/ghostscript/fonts" "2" = "/usr/share/a2ps/afm" "3" = "/usr/share/enscript" "4" = "/usr/X11R6/lib/X11/fonts/Type1" [WinMM] "WaveMapper" = "msacm.drv" "MidiMapper" = "midimap.drv" [dsound] [Network] [AppDefaults\\_INS0432._MP\\x11drv] "Desktop" = "640x480" [AppDefaults\\_INS0466._MP\\x11drv] "Desktop" = "640x480" [AppDefaults\\_INS0576._MP\\x11drv] "Desktop" = "640x480" [AppDefaults\\_INS5176._MP\\x11drv] "Desktop" = "640x480" [AppDefaults\\_INS5576._MP\\x11drv] "Desktop" = "640x480" [AppDefaults\\dcom98.exe\\DllOverrides] "ole32" = "native" [AppDefaults\\dcom95.exe\\DllOverrides] "ole32" = "native" # [/wineconf]
Christophe wrote:> > Hi all, > > I wish to ask you some advice about Wine and Micro$oft Office. > I know this subject comes up every 10 sec, but I can't get Excel > nor WinWord work properly. > > I must say I studied toroughly als faqs and archives I could find about this > subjects. So I allready checked : > * my X server is correctly installed, with ttf fonts ans so on.. > * I have full acces to the windows partition where the programm is installed > * I use a double-boot with NT, but I let Wine run its own windows inwtall > * I already tried to re-install dcom95.exe (98 as well). (fyi, the install > programm refuses to install the prg and says a newer version had been > installed - I guess with wine install) > * I tried installing Wine 20031016 and 20030911 from rpm and from > src+compile+... > > Both M$ programms start and shout for MsCreate.dir. And it is impossible > either to open nor to save a doc. (Actually dialog boxes i.e. open won't come > up)To fix that symptom with Word2K, I needed to add the following to my ~/.wine/config file, with the corresponding native DLL installed. [AppDefaults\\winword.exe\\DllOverrides] "oleaut32" = "native, builtin" "ole32" = "native, builtin" "comctl32" = "native" "rpcrt4" = "native" [AppDefaults\\winword.exe\\Version] "Windows" = "win98"
Hi Clark Thank you for your answer Summary of the pb:>> Both M$ programms start and shout for MsCreate.dir. And it is impossible >> either to open nor to save a doc. (Actually dialog boxes i.e. open won'tcome>> up)Clark's answer :> To fix that symptom with Word2K, I needed to add the following to my >~/.wine/config file, with the corresponding native DLL installed. > >[AppDefaults\\winword.exe\\DllOverrides] >"oleaut32" = "native, builtin" (I even did "native" alone) >"ole32" = "native, builtin" (I even did "native" alone) >"comctl32" = "native" >"rpcrt4" = "native" > >[AppDefaults\\winword.exe\\Version] >"Windows" = "win98"After inserting your suggestions in the 'config' file, and in order to keep Wine happy, I found these 4 dlls on my NT installation and copied them into the Windows\System directory of Wine so Wine can access the native versions of dlls. ((Do you reckon this is a pb that I used NT versions of dlls ? I don't think so since you copied your from a Win2k ~=~ nt50)) I inserted the same lines for excel.exe (wich is the one prg I first need to get working) Running excel.exe, my error status under Wine changed to :> fixme:ntdll:NtConnectPort (0x40575a30,L"\\RPCControl\\epmapper",0x408513f0,(nil),(nil),(nil),0x40851368,0x408513e8 (120)),stub!> fixme:ntdll:NtRequestWaitReplyPort ((nil),0x40851418,0x40851418),stub! > fixme:win32:SetCriticalSectionSpinCount critsection=0x653c6230:spincount=1000 not supported In addition to this, excel says it cannot access linked objects. Which is new then, even if I already knew that fact with wine. And after this, beeps once more and freezes. I guessed I had to make ntdll.dll accessible to native, but it did not change anything. Nor as builtin. I also tried to changed the "Wine version" to nt40 and still no result. With winword, I get the same errors but Winword keeps running. Only that I still cannot open nor save a document (=the original pb). Winword says "not enough memory available", as previously. But I have the impression I am coming further, and that your comment helped.thx. Do you have any new suggestion ? could you pls mail me your config file so I can see what else I could have to change ? Christophe -- NEU F?R ALLE - GMX MediaCenter - f?r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f?r Mail, Message, More! +++
>I guessed I had to make ntdll.dll accessible to native, but it did not >change anythingYou can't use a native version of ntdll.dll with wine.
Use OpenOffice which is a Microsoft Office 100% compatible office suite (http://www.openoffice.org/). If you want more functionalities (Access-like database manager), you can buy Star Office. J?r?me Le sam 08/11/2003 ? 17:27, Christophe a ?crit :> Hi all, > > I wish to ask you some advice about Wine and Micro$oft Office. > I know this subject comes up every 10 sec, but I can't get Excel > nor WinWord work properly. > > I must say I studied toroughly als faqs and archives I could find about this > subjects. So I allready checked : > * my X server is correctly installed, with ttf fonts ans so on.. > * I have full acces to the windows partition where the programm is installed > * I use a double-boot with NT, but I let Wine run its own windows inwtall > * I already tried to re-install dcom95.exe (98 as well). (fyi, the install > programm refuses to install the prg and says a newer version had been > installed - I guess with wine install) > * I tried installing Wine 20031016 and 20030911 from rpm and from > src+compile+... > > Both M$ programms start and shout for MsCreate.dir. And it is impossible > either to open nor to save a doc. (Actually dialog boxes i.e. open won't come > up) > > Thanks in advance for your support. I need to have THESE working for 100% > compatibility purposes at work. Or I would have to give up linux :( > > Christophe > > Info about my system > RH9 running with kernel 2.4.20-8, X XFree86 Version 4.3.0 > current Wine : 20030911 > I attached my .wine/config file if you can have a look. > When starting, I always get a (approx translation) "mscreate is not > accessible ... maybe is it read-only file or the server (??) on which it is saved is > not responding" > It is maybe te reason why I also get : > > err:clipboard:X11DRV_CLIPBOARD_QueryAvailableData Failed to cache > text/plain;charset=utf-8 property > Then I have to click cancel : Basic functions are operative then. > When I choose open in the file menu : nothing happens and I get in the > console : > > fixme:hook:NotifyWinEvent (5,0x10021,-3,0)-stub! > > > >
> Running excel.exe, my error status under Wine changed to : > > fixme:ntdll:NtConnectPort (0x40575a30,L"\\RPC > Control\\epmapper",0x408513f0,(nil),(nil),(nil),0x40851368,0x408513e8(120)),stub!> > fixme:ntdll:NtRequestWaitReplyPort ((nil),0x40851418,0x40851418),stub!These are an example of Microsoft not documenting a whole set of functions to manipulate an NT primitive. They are part of an API called Local Procedure Call (LPC) and it is mainly used by RPC (the RPCRT4 DLL) to communicate between COM apartments on the same machine. In short, it is a known bug with Wine, but we haven't been motivated to both document and implement LPC yet.> > fixme:win32:SetCriticalSectionSpinCount critsection=0x653c6230: > spincount=1000 not supportedThis is harmless. Spincount is a performance enhancement for multiprocessor machines. Instead of making a server call (or system call on Windows) immediately the critical section functions can 'spin' for spincount times an see if the critical section is released because server/system calls are expensive.> In addition to this, excel says it cannot access linked objects. Which is > new then, even if I already knew that fact with wine. And after this,beeps> once more and freezes.This would be due to the LPC calls not being implemented above.> I guessed I had to make ntdll.dll accessible to native, but it did not > change anything. Nor as builtin. I also tried to changed the "Wineversion" to> nt40 and still no result.Wine's NTDLL basically *is* Wine. You can't set this to native otherwise Wine won't work. I guess as a safety measure it will silently ignore your request.> With winword, I get the same errors but Winword keeps running. Only that I > still cannot open nor save a document (=the original pb). Winword says"not> enough memory available", as previously. > > But I have the impression I am coming further, and that your comment > helped.thx. Do you have any new suggestion ? could you pls mail me yourconfig file> so I can see what else I could have to change ?Try using the built-in RPCRT4. I haven't used it with Winword, but I have found it satisfactory for most of the programs that I run. Rob
Hi Robert (Shearman) I took good notice of your last mail concerning my pb about wine and running excel.exe. I usually get :>> fixme:ntdll:NtConnectPort (0x40575a30,L"\\RPCand you said> These are an example of Microsoft not documenting a whole set of functions > to manipulate an NT primitive. They are part of an API called Local > Procedure Call (LPC) and it is mainly used by RPC (the RPCRT4 DLL) to > communicate between COM apartments on the same machine. > In short, it is a known bug with Wine, but we haven't been motivated to both > document and implement LPC yet.but then I wonder how some people do to get around this pb and can easily get excel or word working... I guess there is a trick about the config file ! I got to have ole32 and oleaut32 as native if I want (according to Clark suggestion) to get away of that mscreate.dir warning and get my dialog boxes work fine... But then the native ones get me this LPC primitive error. According to your last mail, I will thus try again with RPCRT4, ole32, oleaut32 as builtin then. But I would be interessted to have a look at someone's config file that uses NT/linux in double boot with Wine std configuration as Win98, and having Dcom98 installed in windows/system_dcom directory, paths being accordingly extended. Thanks christophe
Hi Jerome> Use OpenOffice which is a Microsoft Office 100% compatible office suiteI do not think Opn Office is 100% Compatible with WinWord for instance. There are still some pb when opening documents with tables, especially when tables are in foot/heads for instance, or including special formatting or images. If there is a trick about how to configure it correctly, please let me now. I will eventually start another thread enclosing a winword file where you get those pbs. Christophe
Christophe wrote:>Hi all, > >I wish to ask you some advice about Wine and Micro$oft Office. >I know this subject comes up every 10 sec, but I can't get Excel >nor WinWord work properly. > > >I tried to install Office 2000, but the installer wouldn't run. I installed office 97 and the installer and the apps run fine. Excell does give a dialog about 'MSCREATE.DIR cant be accessed', but I just click Cancel on this dialog and then it works fine. This is with the wine-20030911-1rh9winehq RPM. The only differences in the DllOverrides section between mine and yours seem to be that I have these added:>[DllOverrides] > >"cabinet" = "native,builtin" "msi" = "native"