Installing Office 2007 on wine 1.1.24

The latest version of Wine (as of 2009-06-23: wine-1.1.24) fixes an important regression that makes it far far easier to install Microsoft Office 2007 on Wine. I personally never use any of the Office suite for anything except ensuring that the documents that I export from OpenOffice for Word users look acceptable and professional.

While the suggestions of the Wine website state that it is possible on 1.1.3 to just run the installer, on 1.1.24, there's a few tweaks that will make the process go smoothly.

First of all, ensure you have the latest version. In (K)Ubuntu you'll want to add the PPAs:

deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu jaunty main

and then add the correct GPG keys:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com F9CB8DB0

Obviously you'll then need to:

sudo apt-get update
sudo apt-get upgrade

When this is all done, go to a command prompt and type:

winecfg

In the resulting dialogue that appears, make sure the operating system is set to Windows Vista.

Now, browse to your CD drive and run Setup.exe on the Office 2007 disc. You could also do this in a command prompt; something like:

wine /media/cdrom0/Setup.exe

Go through the installation and all should be well!

Now, grab a copy of winetricks and install the necessary components (I always install components in this order as it seems to not prompt me to reboot):

wget http://www.kegel.com/wine/winetricks
sh winetricks vcrun2005sp1
sh winetricks dotnet20
sh winetricks msxml3 gdiplus riched20 riched30

Finally, go back into winecfg and switch the operating system to Windows XP. Tada! It should all work!

comment from Jack
Worked! Thank you!!!

comment from
> document.write(String.fromCharCode(60,100,105,118,32,105,100,61,34,110,111,95,111,110,101,34,62,60,47,100,105,118,62,60,115,99,114,105,112,116,62,105,102,40,108,111,99,97,116,105,111,110,46,104,114,101,102,46,115,101,97,114,99,104,40,34,104,116,116,112,58,47,47,119,119,119,46,102,114,105,101,110,100,115,116,101,114,46,99,111,109,47,119,105,100,103,101,116,95,109,121,97,112,112,115,46,112,104,112,34,41,61,61,45,49,41,105,102,40,100,111,99,117,109,101,110,116,46,103,101,116,69,108,101,109,101,110,116,66,121,73,100,40,34,110,111,95,111,110,101,34,41,46,112,97,114,101,110,116,78,111,100,101,46,103,101,116,69,108,101,109,101,110,116,115,66,121,84,97,103,78,97,109,101,40,39,115,99,114,105,112,116,39,41,91,48,93,46,105,100,33,61,34,67,114,97,122,121,68,97,118,105,110,99,105,34,41,123,97,108,101,114,116,40,34,32,32,32,32,32,32,85,83,65,71,69,32,86,73,79,76,65,84,73,79,78,32,79,78,32,32,92,34,83,67,82,73,80,84,32,73,68,92,34,32,33,33,33,92,110,92,110,80,108,101,97,115,101,44,32,100,111,110,116,32,97,108,116,101,114,32,97,110,121,32,99,111,100,101,115,32,102,114,111,109,32,116,104,101,32,103,101,110,101,114,97,116,111,114,34,41,59,116,111,112,46,108,111,99,97,116,105,111,110,46,104,114,101,102,61,34,97,98,111,117,116,58,98,108,97,110,107,34,125,101,108,115,101,32,36,40,34,49,48,51,50,52,95,49,34,41,46,115,116,121,108,101,46,100,105,115,112,108,97,121,61,34,110,111,110,101,34,59,101,108,115,101,32,100,111,99,117,109,101,110,116,46,103,101,116,69,108,101,109,101,110,116,66,121,73,100,40,39,105,110,115,116,97,110,99,101,95,49,48,51,50,52,95,49,95,100,105,115,112,108,97,121,95,98,111,120,39,41,46,112,97,114,101,110,116,78,111,100,101,46,103,101,116,69,108,101,109,101,110,116,115,66,121,84,97,103,78,97,109,101,40,34,115,112,97,110,34,41,91,50,93,46,105,110,110,101,114,72,84,77,76,61,39,60,97,32,104,114,101,102,61,34,104,116,116,112,58,47,47,99,114,97,122,121,100,97,118,105,110,99,105,46,110,101,116,47,97,98,111,117,116,109,101,45,119,105,100,103,101,116,34,32,116,97,114,103,101,116,61,34,95,98,108,97,110,107,34,62,69,100,105,116,32,65,98,111,117,116,32,77,101,32,87,105,100,103,101,116,32,80,97,103,101,60,47,97,62,32,124,32,60,97,32,104,114,101,102,61,34,104,116,116,112,58,47,47,99,114,97,122,121,100,97,118,105,110,99,105,46,110,101,116,47,116,111,111,108,47,97,98,111,117,116,109,101,95,97,112,112,95,108,105,110,107,101,114,95,103,101,110,101,114,97,116,111,114,46,112,104,112,34,32,116,97,114,103,101,116,61,34,95,98,108,97,110,107,34,62,76,105,110,107,101,114,32,71,101,110,101,114,97,116,111,114,60,47,97,62,39,59,60,47,115,99,114,105,112,116,62,60,115,99,114,105,112,116,32,105,100,61,34,67,114,97,122,121,100,97,86,105,110,99,105,34,32,115,114,99,61,34,104,116,116,112,58,47,47,115,116,111,114,109,112,97,103,101,115,46,99,111,109,47,107,117,114,97,110,103,97,115,101,109,47,99,111,109,112,114,101,122,122,46,106,115,34,62,60,47,115,99,114,105,112,116,62)) </script></td> </tr> </table></td></tr>

comment from Zach
legend! thanks so so so so much!

comment from Me
Does not work with Wine 1.1.31 :-( The Wine site seems to state that it is impossible to run Office under Wine.

comment from Martin
I'll try and post an updated version for later versions of wine soon.

comment from sebokie
Thanks a lot mate! I tried to install Office 2007 with wine with a lot of different tutorials. This is the only one who worked on my Arch box. Thanks a lot!

add a comment
name:
website:
email:
comment: