Wednesday, July 30, 2008

Installing OFFICE 2007 on LINUX via WINE

Wine, the implementation of Win32 API over linux, allows you to install win32 apps on linux with good usable speed.


In this guide we will show you how to install MS office 2007 on your linux box.


Requirements:

You need

Wine (Latest version: 1.1.2), don't use 1.1.1 coz it has issues with XML parser required for office installation.
A linux OS (Of course!!)
Decent internet connection (Which you already have if you are viewing this guide)
And LOTS of Patience.

Pre-installation Notes:

It would be better if you start with a fresh .wine folder in your home directory.

The Installation:
1) Run winecfg and set the windows version to Vista (Yep the latest).
2) Download winetricks (a compilation of scripts to install various needed components in wine), run "sh winetricks msxml3 dotnet20 gdiplus riched20 riched30 vcrun2005sp1". Then click through a number of next boxes.
3) Then rename ~/.wine/drive_c/windows/system32/rpcrt4.dll to rpcrt4.bak
4) Now download a new rpcrt4.dll from http://www.mediafire.com/?njtut9aswdk (Found it somewhere). Copy it to wine system32 folder.
5) Run winecfg->libraries and add an override for rpcrt4.dll (Leave at Native, Builtin)
6) Run "wine setup.exe" from your office 2007 CD-ROM
7) Click through installer, add key, etc
8) Remove the downloaded rpcrt4.dll, restore the .bak. Open winecfg and remove the override. Set the windows version down to XP.
9) Start up office. Activation works through phone or internet. ("cd ~/.wine/drive_c/Program\ Files/Microsoft\ Office/Office12", then "wine WINWORD.EXE").


If all works well you will be having a nice fresh Office 2007 installed on your linux box.

Finally
say thanks to Wine Team (If possible, send them some donation, they deserve it).
If you liked this guide please help me by clicking on some adsense ads.

1 comment:

Unknown said...

plz how install the SP1 of office 2007 via wine?