Installing Microsoft Office 2007 using wine
Yes.. I know theres a lot of office suites out there for linux.. the problem is: In my actual work, I *MUST* use the dammit OOXML for docs, spreadsheets, presentations and Visio for stuff. I personaly hate Office2007 but.. I just need it…
- Download and install crossover-game trial at codeweavers (yes, crossover games)
- Install the last wine available (Ubuntu 8.04 have a good one, gentoo ~x86 too)
- Download and install winetricks at http://www.kegel.com/wine/winetricks
- Now, go to console and type winecfg to create your first wine configuration.
- From winetricks, install this packages: dotnet11, dotnet20, gdiplus, msxml3, msxml4, msxml6, vcrun2005sp1 and vcrun2008.
- Now, go to /home/<youruser>/.wine/drive_c/windows/system32 and rename rpcrt4.dll to something like rpcrt4.dll.bak
- Copy /opt/cxgames/lib/wine/rpcrt4.dll.so to /home/<youruser>/.wine/drive_c/windows/system32/rpcrt4.dll (yes, without the .so).
- Mount office cd with -o unhide option (I don’t know why, but if you automount, the cd will miss some files).
- Go to directory of cdrom and type wine setup.exe
- Now you can uninstall crossover trial, remove the rpcrt4.dll used and put the old one in this place (now office 2007 will work with the old one).
Update 1: It’s a good one to install riched20 and riched30 to have a better look on fonts.
Update 2: 4j4x translate this post to indonesian, check here
Update 3: MS Project and MS Outlook doesn’t work (project claims to not being installed to current user, I think this is just a registry problem).
Update 4: MS Visio and Office updates works as well.
Update 5: Alain reports the .Net 1.1 asks for ie5 (this doesn’t occurs with me), but without the .net 1.1 the installation works.
Update 6: I don’t know why but Powerpoint doesn’t work to everyone.
Update 7: Portuguese version here
Thanks for all testing and reporting.
Loading...
thanks… great post.. may i post it in my blog? I will translate it into Indonesian language.
4j4x - April 10, 2008 at 0:21
[...] Menginstall Office 2007 di linux dengan Wine Iseng-iseng buka tag surfer di wordpress, eh ada artikel menarik tentang cara menginstall Office 2007 di Linux dengan Wine. Source asli didapat dari sini [...]
Menginstall Office 2007 di linux dengan Wine « Saved by the pirate - April 10, 2008 at 0:39
Hi, I’m able to get up to the before last step but every time I try to run wine setup.exe I get errors then one of those M$ “Send error reports”. I’m a newbie to Linux so I might have done something wrong. I’m using ubuntu 7.10.
Alain - April 13, 2008 at 14:00
I think you’re missing some point. I receive this error when I forgot some of the packages that winetricks install.
Daniel de Oliveira - April 13, 2008 at 14:35
These are the last few lines before the setup gives me the error any help would be greatly appreciated:
fixme:msxml:bsc_QueryInterface interface {6d5140c1-7436-11ce-8034-00aa006009fa} not implemented
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:msxml:bsc_QueryInterface interface {79eac9e4-baf9-11ce-8c82-00aa004ba90b} not implemented
fixme:msxml:DllCanUnloadNow
fixme:htmlhelp:HtmlHelpW HH case HH_UNINITIALIZE not handled.
fixme:powrprof:DllMain (0×7e0b0000, 1, (nil)) not fully implemented
fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 11
fixme:netapi32:NetGetJoinInformation Stub (null) 0×32f0bc 0×32f0b0
fixme:advapi:CheckTokenMembership ((nil) 0×135320 0×32f098) stub!
fixme:advapi:CheckTokenMembership ((nil) 0×135320 0×32f098) stub!
fixme:powrprof:DllMain (0×7e0b0000, 0, (nil)) not fully implemented
Alain - April 13, 2008 at 15:06
Verify this in winecfg, if in the “library” options:
msxml3: (native, builtin)
Daniel de Oliveira - April 13, 2008 at 15:29
Thanks for your help so far … I have msxml3: (native, builtin) and rpcrt4
native,builtin) and now instead of the ” Send error report” i get “setup cannot continue because a required file is either corrupted or not available…”
Alain - April 13, 2008 at 15:37
I’ve just noticed that when I go into the system32 folder of wine, the file msxml.dll isn’t there but rpcrt4.dll is there…Could that be where the mistake comes from? If so, how would I fix this?
Alain - April 13, 2008 at 15:46
I’ve just noticed that when I go into the system32 folder of wine, the file msxml.dll isn’t there but rpcrt4.dll is there…Could that be where the mistake comes from? If so, how would I fix this?
Alain - April 13, 2008 at 15:48
Are you using the rpcrt4.dll from “rpcrt4.dll.so” from crossover-games, right?
Daniel de Oliveira - April 13, 2008 at 15:54
Ya I renamed rpcrt4.dll.so to rpcrt4.dll from crossover-games then copied it to the wine system32 folder
Alain - April 13, 2008 at 15:55
Try install again the packages with winetricks, maybe you miss some of them.
Daniel de Oliveira - April 13, 2008 at 16:08
When I select these packages to install dotnet11, dotnet20, gdiplus, msxml3, msxml4, msxml6, vcrun2005sp1 and vcrun2008, I get a Install Microsoft .Net Framework 1.1 package message. I click ok but it says i need microsoft internet explorer 5.01… any idea how to get internet explorer 5.01?
Alain - April 13, 2008 at 17:20
ie5?? o_O
But I have this installed without any ie5 o_O
Daniel de Oliveira - April 13, 2008 at 17:21
Did you have to install .Net Framework 1.1?
Alain - April 13, 2008 at 17:34
Thank you for you help. It finally installed. All I had to do was not to install dotnet11 and it worked! Again Thank you very much for your help.
Alain - April 13, 2008 at 17:51
Yep.
Oh wait.. My wine is 0.9.59. I remember the version that comes in 7.10 causes me a lot of problems, so after I upgrade my system to hardy, everything works..
Daniel de Oliveira - April 13, 2008 at 17:52
Oh Nice.
Dependecies I put to install with winetricks is because office2007 needs.. but if works without the dotnet11, better than nothing. =)
Daniel de Oliveira - April 13, 2008 at 17:54
welldone! I am just displeased that powerpoint doesn’t work.. hovewer word and exel work perfectly!
anopticon - April 16, 2008 at 11:24
hi man, powerpoint works @ me
http://img181.imageshack.us/img181/4351/20080509powerpointnj3.png
nice work, i followed u step by step and works fine.
made with wine-git 20080506-1
dax - May 8, 2008 at 19:44
[...] installing-microsoft-office-2007-using-wine [...]
dee’s blog » Blog Archive » office 2007 - May 8, 2008 at 20:47
allright.. now powerpoint works very well, thanks wine rc1! XD
anopticon - May 22, 2008 at 19:59
Im getting msiapicalfailure!
Im using Hardy and Wine RC1
GAH! please help! I followed this step by step and it didnt work for me. Heres how im setup.
Dll Overrides
gdiplus Native
msxml3 Native,Builtin
rpcrt4 Native
I also noticed that i dont have a msxm3.dll in my system 32 folder. Could this be the problem?
This is listed in the uninstall software in wine.
I have Framework 2.0
Office PowerPoint viewer 2003
Microsoft Visual C++ 2005
Microsoft Visual C++ 2008
Microsoft XML parser
MSXML 4.0 SP2
MSXML 6.0 Parser
Am i missing something.. this is driving me mad!
Any help would be great..
hk7589 - May 23, 2008 at 1:00
I think this dll is essencial. Try installing the dependencies in winetricks again.
Menelkir - May 23, 2008 at 2:12
Well i have a Office Pro version that i got from school that i wanted to use but it wont work. However the student version trial that i downloaded last night installed with no problem. But the Office Pro Trial requires Microsoft Installer 3.1. Which I’m having trouble installing but at least I’m finally getting somewhere. I had the trial version up and running last night. By the way this is the best tutorial I’ve found. Good Work!
hk7589 - May 23, 2008 at 14:21
Install went perfectly, still cant open Outlook though. “Cannot start Microsoft Outlook” … here is the debug:
fixme:heap:HeapSetInformation 0×110000 1 (nil) 0
fixme:heap:HeapSetInformation 0×110000 1 (nil) 0
err:ole:CoCreateInstance apartment not initialised
fixme:heap:HeapSetInformation 0×110000 1 (nil) 0
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:heap:HeapSetInformation 0×110000 1 (nil) 0
fixme:heap:HeapSetInformation 0×110000 1 (nil) 0
fixme:advapi:RegisterTraceGuidsW 0×38ee62e8 0×442628 0×442630 14 0×442690 (null) (null) 0×442640
Any ideas?
vs123 - May 29, 2008 at 14:20
No idea, I just try to run outlook and project a lot of times and always get errors.
Menelkir - May 29, 2008 at 14:55
OneNote seems to me as not working which is a shame, as i use it a lot and now i have to use Virtualization :/
Lars - June 7, 2008 at 14:55
[...] em Inglês: by ME Versão em Indonésio: by [...]
Instalando o Office 2007 no wine « Daniel de Oliveira (BR) - June 10, 2008 at 14:35
Hey! I’ve been following your guide, and everything’s fine till I get in
Mount office cd with -o unhide option
I’m kinda new in linux, so I don’t know how to do that… and if I insert the cd and double-click on SETUP.EXE I get the missing/corrupted files error… anyone could help? thanks a lot!!!
Alan - July 4, 2008 at 23:03
power point fail to load run in safe mode also failed waht to do anyone please help
sandesh - February 5, 2009 at 1:43
Doesn’t work.
Installer crashes.
Arrta - February 18, 2009 at 14:16
all i get is
fixme:xrender:X11drv_alphablend not a dibsection
it keeps displaying and the installer doesnt do anyting else
Pat - March 18, 2009 at 19:01
i forgot to mention im also trying to install enterprise edition via this method
Pat - March 18, 2009 at 19:02
First of all thank you very much Daniel for this great guide.
I’m really glad to have founf this.
Next is something that might help someone.
It worked just fine in Gentoo.
A couple of things to keep on mind.
- I installed crossover-game as user not as root
- I also installed winetricks as a user as well
- I installed winetricks one by one, just to keep track of what was going on. In this way
user@Brass # sh /home/edo/Desktop/winetricks dotnet11
- do the same for the rest !
- Before mounting the office cd I created a folder
user@Bras # mkdir /home/user/office
- Then I mounted the cd in this way
mount -o unhide /dev/cdrom /home/user/office
- user is you user name
- office is a folder you have to create as a user NOT AS ROOT
- cdrom is your cdrive usually /cdrw or /cdrom
- One last thing you have to open .doc files by clicking
File > open > then selecting the file to open
Other wise if you make word open all the .doc files by clicking on them it will seem as if all your documents were blank. perahps a bug ?
Luis - March 24, 2009 at 1:06
I forgot to mention that PowerPoint, word, excel all work.
Luis - March 24, 2009 at 1:07