Can't make "Running MS Office 97 under Linux with Wine&

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ralphl
Level 2
Level 2
Posts: 22
Joined: Tue Feb 26, 2008 9:46 pm

Can't make "Running MS Office 97 under Linux with Wine&

Post by ralphl »

Following the Office 97 installation instruction given in http://www.wine-reviews.net/microsoft/r ... -wine.html failed to work for me. I get to the point where it says to install DCOM98. The terminal listing shows many errors:

ralph@ralph-laptop:~/Download_folder$ wine dcom98.exe
err:service:RPC_Init RpcServerUseProtseq failed with error 1703
err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703
err:setupapi:SetupDefaultQueueCallbackW copy error 32 L"C:\\windows\\temp\\IXP002.TMP\\rpcrt4.dll" -> L"C:\\windows\\system32\\rpcrt4.dll"
err:setupapi:SetupDefaultQueueCallbackW copy error 5 L"C:\\windows\\temp\\IXP002.TMP\\install.exe" -> L"C:\\windows\\system32\\dcom98\\oldole\\uninstall.exe"
err:setupapi:SetupDefaultQueueCallbackW copy error 5 L"C:\\windows\\temp\\IXP002.TMP\\dcom98.inf" -> L"C:\\windows\\system32\\dcom98\\oldole\\dcom98.inf"
err:setupapi:SetupDefaultQueueCallbackW copy error 5 L"C:\\windows\\temp\\IXP002.TMP\\eula98.txt" -> L"C:\\windows\\system32\\dcom98\\license.txt"
err:setupapi:SetupDefaultQueueCallbackW copy error 5 L"C:\\windows\\temp\\IXP002.TMP\\relnt98.txt" -> L"C:\\windows\\system32\\dcom98\\relnotes.txt"
err:setupapi:SetupDefaultQueueCallbackW copy error 5 L"C:\\windows\\temp\\IXP002.TMP\\dcom98.inf" -> L"C:\\windows\\inf\\dcom98.inf"
ralph@ralph-laptop:~/Download_folder$ wine regedit
err:service:RPC_Init RpcServerUseProtseq failed with error 1703
err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703

However, when I look in .wine/drive_c/windows/system32, I find that ole32.dll, oleaut32.dll, olepro32.dll, and rpcrt4.dll have all been installed.
Can anyone explain whether or not dcom98.exe has been correctly installed??

Assuming that dcom98 was correctly installed, I proceeded to the "wine regedit" command to set the Owner and Organization. I have no knowledge of the registry and would appreciate someone giving me explicit commands to type in to do this. The instructions given assume an understanding of the registry that I lack.

Just to see if Office 97 would install even though I messed up 2 steps I put my CD in the drive and executed 'wine setup.exe. Here is the terminal listing showing no success. Can anyone explain if the failure was due to failed earlier steps or to something quite different:

ralph@ralph-laptop:/media/cdrom0$ ls
Aamsstp Cdonline odbccp32.dll Off97Pro.inf ofs97_01.ico Setup.lst
Acme.exe Clipart odbcint.dll off97pro.pdf OS Setup.tdf
acmsetup.exe ffast_bb.dll odbckey.inf Off97Pro.STF Queries Sounds
acmsetup.hlp msacccah.dll odbcstf.dll offclean.dll rnscln97.opc srvpack
autorun mssetup.dll of97spec.ini offcln97.opc selfreg.dll Template
autorun.inf msvcrt20.dll off97_bb.dll Office setup.exe ValuPack
Books msvcrt40.dll off97inv.dll offsetup.ttf Setup.ini
ralph@ralph-laptop:/media/cdrom0$ wine setup.exe
Warning: could not find DOS drive for current working directory '/media/cdrom0', starting in the Windows directory.
err:service:RPC_Init RpcServerUseProtseq failed with error 1703
err:wineboot:start_services_process Unexpected termination of services.exe - exit code 1703
wine: could not load L"C:\\windows\\system32\\setup.exe": Module not found
ralph@ralph-laptop:/media/cdrom0$


As I am very much a newbie any help would be appreciated.

Thanks, Ralph
ralphl
Level 2
Level 2
Posts: 22
Joined: Tue Feb 26, 2008 9:46 pm

Specific system for above post

Post by ralphl »

Forgot to list my system: Hardy, Wine 1.1.1. Dell Laptop Latitude D610.

Thanks
Ralph
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Those instructions are old. I dug out my Office 97 cd and just tested it in 1.1.1; it installed perfectly with no overrides or registry hacks whatsoever--I didn't even change the Windows version. Delete or rename your .wine directory and try installing with default Wine settings. If you run into problems, post console output.

FYI, if you ever do need to install dcom98 for something, the easiest way to do it is through winetricks: http://wiki.winehq.org/winetricks

EDIT: Upon further investigation, there is a problem with installing Access 97, http://bugs.winehq.org/show_bug.cgi?id=3689 ; Word, Excel, and Powerpoint install and start up fine (custom install, deselect Access and Outlook) with default settings. If you need Access, I don't have a solution; the instructions you followed are the suggested workaround in the bug report. You could try following them again (start over with a clean wineprefix), but use winetricks to install dcom98. But that workaround is for a much older version of Wine, so it may no longer work.
ralphl
Level 2
Level 2
Posts: 22
Joined: Tue Feb 26, 2008 9:46 pm

Post by ralphl »

Dimesio

Thanks for the quick replay. Your suggestion to just load office 97 on a vanilla wine system didn't work for me. I got the famous "Accwiz.dll was unable to register itself in the system
registry" error. See http://bugs.winehq.org/show_bug.cgi?id=3689. Did you do anything special to work around that bug?

Thanks
Ralph
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

I gather you tried this before seeing my edit to my original reply. I originally did a custom install of only Word, Excel, Powerpoint--that works fine. As for Access, the workaround mentioned in the the bug report is the same old set of instructions you tried to follow. I just tried it; it crashes 1.1.1. So if you need Access 97, unfortunately, I don't have an answer for you.
ralphl
Level 2
Level 2
Posts: 22
Joined: Tue Feb 26, 2008 9:46 pm

Post by ralphl »

Thank you for guiding me to Winetricks to install dcom98. It did the trick. I followed http://www.wine-reviews.net/microsoft/r ... -wine.html up to the point where I needed to set the registry and I just don't understand what to type in as a key. As I said before I don't know anything about the registry so if you could read the instructions at the referenced web site and see if you can make sense of them I would appreciate it.

Anyway I skipped setting the registry and installed myy cd. The installation had no errors. i started up Word, PowerPoint, Excel, Binder, Access, and Photo Editor. They all started ok and seemed to work, although I didn't really use them--even Access. My only disappointment was Outlook, which i really wanted to use in order to remain compatible with my older systems. Outlook started up and flashed its startup screen but then just disappeared. As a note of interest a while back I tried the trial copy of Crossover and Outlook ran fine there. Were you able to bring up Outlook when you installed Office 97?

I started Outlook from the Terminal and got the following: It looks like I had a page fault but I don't know why. Any thoughts would be appreciated.

ralph@ralph-laptop:~/.wine/drive_c/Program Files/Microsoft Office/Office$ wine Outlook.exe
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPIAdminProfiles (0, 0x32fc7c): stub
fixme:mapi:MAPIInitialize ((nil)) Stub
fixme:mapi:MAPIAdminProfiles (0, 0x33fd54): stub
fixme:mapi:MAPIUninitialize Stub
fixme:mapi:MAPILogonEx (0x00050086 (null) (nil) 0x00001069 0x32fa44) Stub
wine: Unhandled page fault on read access to 0x00000000 at address 0x6e03d42f (thread 0027), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x6e03d42f).
err:dbghelp:pe_load_dbg_file -Unable to peruse .DBG file "outllib.dbg" ("\x12")
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:6e03d42f ESP:0032f9f8 EBP:0032fa00 EFLAGS:00210246( - 00 -RIZP1)
EAX:00000000 EBX:00000000 ECX:0032fa2c EDX:0000004a
ESI:00443730 EDI:00050086
Stack dump:
0x0032f9f8: 6e0368b0 0032fa2c 0032fa14 6e031e85
0x0032fa08: 00000000 6e0368b0 0032fa2c 0032fa30
0x0032fa18: 6dff47a5 00000000 00050086 00443730
0x0032fa28: 00443730 00000000 0032fa4c 6dff470a
0x0032fa38: 00000000 00050086 00443730 00000000
0x0032fa48: 00000000 0032fba8 6dff3f45 00050086
Backtrace:
=>1 0x6e03d42f in outllib (+0x4d42f) (0x0032fa00)
2 0x6e031e85 in outllib (+0x41e85) (0x0032fa14)
3 0x6dff47a5 in outllib (+0x47a5) (0x0032fa30)
4 0x6dff470a in outllib (+0x470a) (0x0032fa4c)
5 0x6dff3f45 in outllib (+0x3f45) (0x0032fba8)
6 0x6e001810 in outllib (+0x11810) (0x0032fc04)
7 0x6e001862 in outllib (+0x11862) (0x0032fc20)
8 0x6e00276d in outllib (+0x1276d) (0x0032fc3c)
9 0x6dff3ae6 in outllib (+0x3ae6) (0x0032fc68)
10 0x6dffe3df in outllib (+0xe3df) (0x0032fd04)
11 0x6dffdf3a in outllib (+0xdf3a) (0x0032fe60)
err:dbghelp:pe_load_dbg_file -Unable to peruse .DBG file "outlook.dbg" ("")
12 0x300017d9 in outlook (+0x17d9) (0x0032ff08)
13 0x7b8776a7 in kernel32 (+0x576a7) (0x0032ffe8)
0x6e03d42f: movl 0x0(%eax),%ecx
Modules:
Module Address Debug info Name (62 modules)
PE 10200000-10255000 Deferred msvcrt40
PE 30000000-30009000 Export outlook
PE 306c0000-30a65000 Deferred mso97
PE 65340000-653d2000 Deferred oleaut32
PE 65f00000-65fc2000 Deferred ole32
PE 6dff0000-6e429000 Export outllib
PE 6e430000-6e43f000 Deferred outlrpc
PE 70100000-70153000 Deferred rpcrt4
ELF 7b800000-7b931000 Export kernel32<elf>
\-PE 7b820000-7b931000 \ kernel32
ELF 7bc00000-7bca5000 Deferred ntdll<elf>
\-PE 7bc10000-7bca5000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7e686000-7e6b9000 Deferred uxtheme<elf>
\-PE 7e690000-7e6b9000 \ uxtheme
ELF 7e6b9000-7e6c2000 Deferred libxcursor.so.1
ELF 7e6c2000-7e6c7000 Deferred libxfixes.so.3
ELF 7e6c7000-7e6ca000 Deferred libxcomposite.so.1
ELF 7e6ca000-7e6d0000 Deferred libxrandr.so.2
ELF 7e6d0000-7e6d8000 Deferred libxrender.so.1
ELF 7e6d8000-7e6dd000 Deferred libxxf86vm.so.1
ELF 7e6dd000-7e6e0000 Deferred libxinerama.so.1
ELF 7e6e0000-7e700000 Deferred imm32<elf>
\-PE 7e6f0000-7e700000 \ imm32
ELF 7e700000-7e705000 Deferred libxdmcp.so.6
ELF 7e705000-7e71d000 Deferred libxcb.so.1
ELF 7e71d000-7e804000 Deferred libx11.so.6
ELF 7e804000-7e812000 Deferred libxext.so.6
ELF 7e812000-7e82a000 Deferred libice.so.6
ELF 7e82a000-7e832000 Deferred libsm.so.6
ELF 7e840000-7e8d7000 Deferred winex11<elf>
\-PE 7e850000-7e8d7000 \ winex11
ELF 7e91b000-7e93c000 Deferred libexpat.so.1
ELF 7e93c000-7e966000 Deferred libfontconfig.so.1
ELF 7e966000-7e97b000 Deferred libz.so.1
ELF 7e97b000-7e9eb000 Deferred libfreetype.so.6
ELF 7e9eb000-7e9ed000 Deferred libxcb-xlib.so.0
ELF 7e9ed000-7e9f0000 Deferred libxau.so.6
ELF 7e9f9000-7eab9000 Deferred comctl32<elf>
\-PE 7ea00000-7eab9000 \ comctl32
ELF 7eab9000-7ebce000 Deferred shell32<elf>
\-PE 7ead0000-7ebce000 \ shell32
ELF 7ebce000-7ec27000 Deferred shlwapi<elf>
\-PE 7ebe0000-7ec27000 \ shlwapi
ELF 7ec27000-7ec49000 Deferred mapi32<elf>
\-PE 7ec30000-7ec49000 \ mapi32
ELF 7ec49000-7ed90000 Deferred user32<elf>
\-PE 7ec60000-7ed90000 \ user32
ELF 7ed90000-7ede2000 Deferred advapi32<elf>
\-PE 7eda0000-7ede2000 \ advapi32
ELF 7ede2000-7ee80000 Deferred gdi32<elf>
\-PE 7edf0000-7ee80000 \ gdi32
ELF 7efa0000-7efab000 Deferred libnss_files.so.2
ELF 7efab000-7efb5000 Deferred libnss_nis.so.2
ELF 7efb5000-7efcd000 Deferred libnsl.so.1
ELF 7efcd000-7eff2000 Deferred libm.so.6
ELF 7eff7000-7f000000 Deferred libnss_compat.so.2
ELF b7d12000-b7d16000 Deferred libdl.so.2
ELF b7d16000-b7e65000 Deferred libc.so.6
ELF b7e66000-b7e7e000 Deferred libpthread.so.0
ELF b7e8c000-b7fc2000 Deferred libwine.so.1
ELF b7fc4000-b7fe0000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008
00000009 0
0000000c
00000012 0
0000000e 0
0000000d 0
0000000f
00000015 0
00000014 0
00000011 0
00000010 0
00000016
00000017 0
00000026 (D) C:\Program Files\Microsoft Office\Office\Outlook.exe
00000027 0 <==
Backtrace:
=>1 0x6e03d42f in outllib (+0x4d42f) (0x0032fa00)
2 0x6e031e85 in outllib (+0x41e85) (0x0032fa14)
3 0x6dff47a5 in outllib (+0x47a5) (0x0032fa30)
4 0x6dff470a in outllib (+0x470a) (0x0032fa4c)
5 0x6dff3f45 in outllib (+0x3f45) (0x0032fba8)
6 0x6e001810 in outllib (+0x11810) (0x0032fc04)
7 0x6e001862 in outllib (+0x11862) (0x0032fc20)
8 0x6e00276d in outllib (+0x1276d) (0x0032fc3c)
9 0x6dff3ae6 in outllib (+0x3ae6) (0x0032fc68)
10 0x6dffe3df in outllib (+0xe3df) (0x0032fd04)
11 0x6dffdf3a in outllib (+0xdf3a) (0x0032fe60)
12 0x300017d9 in outlook (+0x17d9) (0x0032ff08)
13 0x7b8776a7 in kernel32 (+0x576a7) (0x0032ffe8)
ralph@ralph-laptop:~/.wine/drive_c/Program Files/Microsoft Office/Office$

Thanks

Ralph
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

You had better luck than I did--when I tried those instructions, the installer crashed.

I don't think you need to edit the registry if the install completed successfully for you. But if you want to, run wine's regedit; it works the same as in Windows. The section the instructions refer to is under HKEY_LOCAL_MACHINE. As to what to enter, this is just the registered owner and organization--put in whatever you would put in the dialog when installing the program.

As for Outlook, the AppDB lists it as "garbage" for all versions of Office. http://appdb.winehq.org/objectManager.p ... ion&iId=34 It may work in Crossover; they include some hacks that aren't in plain Wine.
Locked