Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Wine
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Wine
This is the place for questions about using Windows programs under Linux using Wine, including productivity software, games, and anything else.

 
Thread Tools Display Modes
Old June 29th, 2008   #1
rdiaztushman
First Cup of Ubuntu
 
Join Date: Jun 2008
Beans: 8
Lightbulb HOWTO: Install Office2007 in Ubuntu 8.04 with Wine 1.1

Hello!

I have found that all of the HowTo tutorials out there for this process are missing steps. To get Office 2007 to work on my system with:

Wine 1.1
Ubuntu 8.04

I needed to pull various commands from various tutorials and execute them in a specific order. I thought I'd put them all together here. Hope this helps!

------------------------------------------

Step 1. Install Wine:
Step 2. Download Winetricks
Step 3. Install Cabextract to run the Winetricks smoothly

  • sudo aptitude install cabextract

Step 4. Run Winetricks

  • sh winetricks

In the Winetricks window, install each of the following *individually*, which means check & install one, then re-run Winetricks and do the next:

* dotnet11
* dotnet20
* vb3run
* vb4run
* vb5run
* vb6run

Step 5. Configure Wine.

  • winefcg
In the "Applications" tab, set "Version to Imitate" to *Windows Vista*
In the "Libraries" tab, define "rpcrt4.dll" and "msxml3.dll" as *Native (Windows)*

Step 6. Rename files.

In ~/.wine/windows/system32, rename "rpcrt4.dll" to "rpcrt4.dll_bak" (you will need this later)
In ~/.wine/windows/system32, rename "msxml3.dll" to "msxml3.dll_bak" (you may need this later)
Download a replacement for "rpcrt4.dll" here: http://www.mediafire.com/?njtut9aswdk
Copy the downloaded "rpcrt4.dll" to ~/.wine/windows/system32.
Step 7. Run Winetricks again.

  • sh winetricks

In the Winetricks window, install each of the following *individually*, which means check & install one, then re-run Winetricks and do the next:

* msxml3
* msxml4
* msxml6
* riched20
* riched30
* vcrun6
* vcrun2003
* vcrun2005
* vcrun2005sp1
* vcrun2008
Step 8. Install MS Office 2007.

From your MS Office Installer CD or Directory, run:
  • wine setup.exe

Step 9. Revert to original dll file.

In ~/.wine/windows/system32, rename "rpcrt4.dll" to "rpcrt4.dll_dl"
In ~/.wine/windows/system32, rename "rpcrt4.dll_bak" to "rpcrt4.dll"

Step 10. Set Wine to emulate WindowsXP

  • winecfg
In the "Applications" tab, set "Version to Imitate" to *Windows XP*
In the "Libraries" tab, define "rpcrt4.dll" as *Native then Builtin*

Step 11. Run Office 2007 to confirm it works!

I really hope this helps you all!

Thanks!
__________________
--
Dioscouri Design: Form and Function
www.dioscouri.com

Last edited by rdiaztushman; June 29th, 2008 at 01:57 PM..
rdiaztushman is offline   Reply With Quote
Old June 30th, 2008   #2
FatalChaos
5 Cups of Ubuntu
 
Join Date: Oct 2005
Beans: 41
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

I just tried this from a clean wine install, and it didn't work for me. Everything installed correctly, but nothing would load up. The closest I got was word would load up and them immediately crash. I might have done a step wrong, so I'll try again some other time. But still, could you post anything else on wine that might help your ms office 2007? especially b/c ur one of hte only ppl who seems to have gotten a stable office going.
FatalChaos is offline   Reply With Quote
Old July 2nd, 2008   #3
cbuckbee
First Cup of Ubuntu
 
Join Date: Nov 2006
Beans: 1
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

I was able to get Office 2007 installed and running following these steps with a fresh install of Ubuntu 8.04 and Wine 1.1. All the programs work except for Outlook 2007 which exits with a generic popup box that reads, "Cannot start Microsoft Office Outlook". I haven't been able to find anything else online about this error yet but will keep looking.
cbuckbee is offline   Reply With Quote
Old July 2nd, 2008   #4
snowball1288
First Cup of Ubuntu
 
Join Date: Apr 2008
Beans: 12
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

I had a similar problem to FatalChaos. Word 2007 crashed on startup, along with most of the other programs. i also found that i couldnt re-launch winecfg after Step 9.

So heres what i did:
I did Step 10 (setting wine to emulate XP and changing the settings on rpcrt4.dll) before Step 9. Then I went back and did Step 9.

And it works! Word, Excel, Powerpoint, and OneNote 2007 all seem to launch and respond normally. And my compiz effects all work on them. hats off to Wine and to rdiaztushman for the HowTo.
snowball1288 is offline   Reply With Quote
Old July 4th, 2008   #5
RustyTrowel
First Cup of Ubuntu
 
Join Date: Sep 2007
Location: Texas
Beans: 9
Ubuntu 8.04 Hardy Heron
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

Thanks rdiaztushman.

Using your install method I got everything to work except Access.

Unfortunately, my attempts at fixing that issue completely messed things up. I reinstalled wine and winetricks and tried to go through the steps again. The result of that decision was that winecfg refused to open. I'm starting a new thread to see if folks can't help me get that going.

I'm definetly going to try to use this tutorial again once I get wine running properly.
RustyTrowel is offline   Reply With Quote
Old July 5th, 2008   #6
daerko
First Cup of Ubuntu
 
Join Date: Jun 2008
Beans: 2
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

The install was sucessful but I had same problem as snowball with not being able to launch wine config. I did the same thing as him to change it to run as WINXP and it crashes using the downloaded dll and starts with an errors from services.exe of missing rpcrt4.dll and then doesn't see the dlls like ole32.dll, oart.dll, urlmon.dll, ole32.dll and wwlib.dll (which are all suprisingly in their correct directories) while using the default rpcrt4.dll.

I find it funny that wine config runs with the downloaded rpcrt4.dll but doesn't run with the default one (it gives the rpcrt4.dll missing message and is required by services.exe).

I don't know where I should proceed from here.
daerko is offline   Reply With Quote
Old July 5th, 2008   #7
d4ng3r
5 Cups of Ubuntu
 
Join Date: Apr 2008
Beans: 20
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

So I followed the tutorial but for some reason office still wont install. Has anyone tried this with Enterprise, every time I run the installer it crashes (and wants me to send an error report) at the point right after you click the "Install" button and the status bar comes up. I think it MAY have something to do with some of the things Winetricks installed not working exactly correctly...but I wouldn't know how to fix that.
d4ng3r is offline   Reply With Quote
Old July 5th, 2008   #8
elmaster84
5 Cups of Ubuntu
 
Join Date: May 2008
Location: Guatemala C.A.
Beans: 21
Ubuntu 8.04 Hardy Heron
Send a message via MSN to elmaster84 Send a message via Skype™ to elmaster84
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

Hi...
I did every step until No. 10
I cant get winecfg to work...
This is the problem Im getting. so If any one could help me!!!...
I urgently need Office 2007. I have a presentation on Monday 7th and my Windows Vista partition stopped working for no reason at all!!...cant load my user profile, so I cant acces my documets...something like that!!....

PLEASE HELP!!!

Code:
jach@jach-laptop:~$ winecfg
err:module:import_dll Library rpcrt4.dll (which is needed by L"C:\\windows\\system32\\services.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\services.exe" failed, status c0000135
err:wineboot:start_services_process Unexpected termination of services.exe - exit code -1073741515
err:module:import_dll Library rpcrt4.dll (which is needed by L"C:\\windows\\system32\\ole32.dll") not found
err:module:import_dll Library ole32.dll (which is needed by L"C:\\windows\\system32\\winecfg.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winecfg.exe" failed, status c0000135
__________________
AMD Turion 64X2, 2GB RAM, nVidia GeForce 6150Go...Used to run Vista...now running UBUNTU 8.04 Hardy Heron...never going back!!!!
elmaster84 is offline   Reply With Quote
Old July 5th, 2008   #9
Twitch6000
Has an Ubuntu Drip
 
Twitch6000's Avatar
 
Join Date: Feb 2008
Location: U.S.A
Beans: 708
Send a message via MSN to Twitch6000
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

I must suggest also trying out wine doors due to it making some of the windows instillation alot easier.
__________________
Twitch6000 is offline   Reply With Quote
Old July 15th, 2008   #10
lilkidz
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 4
Re: HOWTO Tutorial: Install Office2007 in Ubuntu 8.04 with Wine 1.1

Quote:
Originally Posted by d4ng3r View Post
So I followed the tutorial but for some reason office still wont install. Has anyone tried this with Enterprise, every time I run the installer it crashes (and wants me to send an error report) at the point right after you click the "Install" button and the status bar comes up. I think it MAY have something to do with some of the things Winetricks installed not working exactly correctly...but I wouldn't know how to fix that.
I have the same problem as you = Using Enterprise too; always asking my to send a error report =/
lilkidz is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:52 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry