Topic: Installing Microsoft Office 2007 in WINE

Office 2010 is still a bit buggy in WINE 1.3 but Office 2007 runs without any problems & is simple to install with a little help from Winetricks:

sudo apt-get install winetricks

Debs for the latest versions of WINE for stable & testing
*** WINE 1.3.30 seems to break exisiting Office 2007 installs ***

& install the required windows files for Office 2007 to work

winetricks msxml3 dotnet20 gdiplus riched20 riched30 vcrun2005sp1 allfonts

If you are luckly the above command will complete without any errors - occasionally you may receive errors on the SHA1 sum for some fonts if they are updated & not yet reflected in the winetricks script

The current winetricks version in the repos WINETRICKS_VERSION=20110417 for the Droid Font points to http://android.git.kernel.org which is currently down due to hackers so:

sudo gedit /usr/bin/winetricks

& change DROID_URL around line 6056 to:

DROID_URL='https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/'

I also had to change the SHA1 sum for font "Droid Sans Fallback" located around line 6059 to:

do_droid DroidSansFallback.ttf     "Droid Sans Fallback"     2f8a266389a8e22f68f402b775731eec6b760334

If you receive any other errors find the offending "font-name" & calculate the new SHA1 & amend the value in winetricks:

cd ~/.cache/winetricks/font-name
sha1sum font-name
sudo gedit /usr/bin/winetricks

If you have an ISO image for Office, open a terminal in the directory holding the image &:

sudo mount -o loop -o unhide office2007_pro.iso /mnt
cd /mnt
wine setup.exe

For running & writing VBA apps still use Office XP (which could be installed in a separate WINE prefix):

env WINEPREFIX="/home/user/.wine-whatever" winecfg

To run programs in your new prefix:

WINEPREFIX=~/.wine-whatever wine

Last edited by tradetaxfree (2011-10-17 23:02:58)

Re: Installing Microsoft Office 2007 in WINE

D: I have office 2007, but can purchase 2010 for $10. I think I'm going to.

Re: Installing Microsoft Office 2007 in WINE

You will need to jump through a few more hoops for Office 2010