Jump to content











Photo
- - - - -

Office 2003 + Wine +linux ??


  • Please log in to reply
1 reply to this topic

#1 Mikorist

Mikorist

    ▂ ▃ █ ▅ ▆

  • Advanced user
  • 771 posts
  •  
    United Nations

Posted 03 June 2008 - 11:04 AM

Some of the sites/sources that helped along the way in addition to this post:


http://blog.napalmpi...ooffice2003wine

http://wine-review.b...linux-with.html

http://frankscorner....hp?p=office2003

This is a quick and dirty HOWTO to install Microsoft Office 2003 under Wine. The system used is Ubuntu Feisty 7.04 x64 . On other system your mileage may vary

Pre-steps:

Install wine. If you are going to do that on Ubuntu, please note that x64 packages are, at the time I’m writing, only available on Feisty. There’s plenty of HOWTO on installing Wine, so I won’t cover it here. I suggest you to try Wine with a program that is known to run and install. I used SwitcherCad III and everything runs perfect. When your Wine is running fine, you then need your Office 2003 disc. Mount it with the option -o unhide. This will avoid having problems with hidden files during installation.

mount -t iso9660 -o unhide /dev/cdrom /mnt/cdrom

There you are, you have your installation files under /mnt/cdrom. A further step is now required to run the installation, or your installation will end saying “Installation source has been corrupted”. This has to do with missing XML parser and Internet explorer. We are going to go around that one by installing the XML parser and telling WINE to use the native Msxml3.dll instead of the built-in one. . Install Microsoft XML Parser (MSXML)

Download it and move toward the downloaded file, then run:

msiexec /i msxml3.msi

if you have installed Wine correctly, you should have msiexec available. Complete the installation, then launch:
c9@dirac:~/Desktop$winecfg

now you should have a wine windows. Now select Libraries–>Choose msxml3 from New Override for library and then Add. The select the added library and choose Edit. Select Native, then builtin, the “OK”.

Installation

Now it’s time to start the Office installation. Move to the mounted cdrom:

c9@dirac:~/Desktop$cd /mnt/cdrom

and run
c9@dirac:~/Desktop$wine Setup.exe

From now on, it doesn’t differ that much from a tipical Office installation.

[Update] There’s may be some issue with Visual Basic macro. I did not have the time to check properly, but not everything did work correctly. Google was’t helpful today, so I’ll try when I’ll have some time .

TO DO: It can be interesting to try to take an original Msxml3.dll from a Windows system and register it in Wine, then saying to use the native one instead of the built-in one. This could save the XML parser installation.

I didn’t try, someone will? Some information can be found at the step “Reregister the Msxml3.dll file”.

Credits: Frank from Frank’s Corner for the original Office HOWTO and the suggestion on how to install .msi files.

Tested on:

Wine 0.9.40~winehq0~ubuntu~7.04-1

Microsoft XML Parser (MSXML) 3.0 Service Pack 7 (SP7) (italian)

on Ubuntu Feisty 7.04.


Some people will get an error message saying no installation files are found. This is caused by the copy protection of the cdrom which makes some files invisible to Wine.
To make these files visible umount the cdrom and mount it again using the -o unhide option, so something like:
mount -t iso9660 -o unhide /dev/cdrom /mnt/cdrom

After installing you must make sure you have a copy of riched32.dll in ~/.wine/drive_c/windows/system32 Set riched32.dll to native for winword.exe, excel.exe and powerpnt.exe in the OFFICE11 directory.


Type wine winword.exe in the installation directory to run Word.
Type wine excel.exe in the installation directory to run Excel.
Type wine powerpnt.exe in the installation directory to run Powerpoint.

Posted Image

Mikorist

#2 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 03 June 2008 - 11:24 AM

Thank you.

Will soon try it out.

;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users