Tuesday, March 27, 2012

HOW TO INSTALL MICROSOFT OFFICE 2007 IN UBUNTU 11.10

Microsoft Office is my favourite office application. The default LibreOffice in Ubuntu 11.10 lacks a lot of Features in MS Office. To install microsoft office in Ubuntu 11.10 I followed the following steps. I first installed on 32 bit Ubuntu and later on 64 bit machine. The steps are little different for the different architecture.

[Warning:
rm -rf ~/.wine will remove the all programs and configuration under
wine. If you have something important in that directory please backup
before running the following commands.]

Now reconfigure wine
with following command followed by winecfg. Select windows version as Windows XP.

Again run winetricks and select above packages and install.

MSXML 3 installation may also fail. In that case you have to download msxml3.msi
and copy to /home/user/.cache/winetricks/msxml3. Run winetricks again and install the above said packages.

4. Copy machine.config from mono installation to DOTNETIf this step is not done Microsoft Office Installation fails with following error:fixme:rpc:handle_bind_error unexpected status value 1765err:rpc:RpcAssoc_BindConnection rejected bind for reason
5. Copy the Windows installation to home directory. Extract the ISO image. Now in terminal run the installer by using "wine path to installer". Select Office 2007 Enterprise. Enter your Microsoft Product Key in next Screen. Accept the EULA.

Now select the Customize option in Next Screen.

From the dropdown Menu at the Left side of Microsoft Office Select " Run all from my Computer"

Click Install Now. Wait for the installation to complete.

Press Close. If office installation fails delete the wineprefix and start from scratches.
To run the Installed office go to Dash and type Microsoft Office.

During First run select I dont want to use Microsoft Update

Now I am able to run Microsoft Office 2007 in Ubuntu 10.10.Update :
I installed SP2 after this as it has the option to save as PDF also. The installation is simple. Just type " wine path to installer" in terminal (wine office2007sp2-kb953195-fullfile-en-us.exe).

Now I am able to run to Microsoft Office 2007 Service Pack 2 without any problem.