May 9, 2008

Microsoft Office 2007 on Ubuntu

Thanks to WeeManDan at the Ubuntu forum, here is a guide to get Microsoft Office 2007 running on Ubuntu:

  1. Install Wine - sudo apt-get install wine
  2. Follow the instructions here, I suggest making the permanent file change as else you'll have to run it after every reboot
  3. At the terminal run winecfg and change the under libraries change rpcrt4.dll and msxml3.dll to Windows native.
  4. Go to /home/username/.wine/drive_c/windows/system32 and delete the two dll's above
  5. Add this dll to the folder above
  6. Get this text, save it to a file locally and run the file by sh filename
  7. When this runs, select the 3 msxml options and let the installs for these run
  8. Now run setup.exe from your Office 2007 installation disk
  9. Following this, run the winetricks script from before again and run dotnet2
  10. All being well, success!

Also, following installation you might notice that you can't access all the shortcuts as the GNOME window gets in the way, you can get around this by disabling 'Allow the window manager to control the windows' in the wine config.


  1. I'm trying to follow this guide but when I try to install the installapp freezes after entering cd-key. Tried to skip entering but it still freezes when pressing continue. Any clues?
    I get this msg: fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE

  2. No sorry, I have no clue. However, MS Office 2007 works out of the box for me now :-)