- 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.
thanks... great post.. may i post it in my blog? I will translate it into Indonesian language.
ReplyDelete[...] 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 [...]
ReplyDeleteHi, 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.
ReplyDeleteI think you're missing some point. I receive this error when I forgot some of the packages that winetricks install.
ReplyDeleteThese are the last few lines before the setup gives me the error any help would be greatly appreciated:
ReplyDeletefixme: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 (0x7e0b0000, 1, (nil)) not fully implemented
fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 11
fixme:netapi32:NetGetJoinInformation Stub (null) 0x32f0bc 0x32f0b0
fixme:advapi:CheckTokenMembership ((nil) 0x135320 0x32f098) stub!
fixme:advapi:CheckTokenMembership ((nil) 0x135320 0x32f098) stub!
fixme:powrprof:DllMain (0x7e0b0000, 0, (nil)) not fully implemented
Verify this in winecfg, if in the "library" options:
ReplyDeletemsxml3: (native, builtin)
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..."
ReplyDeleteI'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?
ReplyDeleteI'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?
ReplyDeleteAre you using the rpcrt4.dll from "rpcrt4.dll.so" from crossover-games, right?
ReplyDeleteYa I renamed rpcrt4.dll.so to rpcrt4.dll from crossover-games then copied it to the wine system32 folder
ReplyDeleteTry install again the packages with winetricks, maybe you miss some of them.
ReplyDeleteie5?? o_O
ReplyDeleteBut I have this installed without any ie5 o_O
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?
ReplyDeleteDid you have to install .Net Framework 1.1?
ReplyDeleteThank 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.
ReplyDeleteYep.
ReplyDeleteOh 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..
Oh Nice.
ReplyDeleteDependecies I put to install with winetricks is because office2007 needs.. but if works without the dotnet11, better than nothing. =)
welldone! I am just displeased that powerpoint doesn't work.. hovewer word and exel work perfectly!
ReplyDeletehi man, powerpoint works @ me
ReplyDeletehttp://img181.imageshack.us/img181/4351/20080509powerpointnj3.png
nice work, i followed u step by step and works fine.
made with wine-git 20080506-1 ;)
[...] installing-microsoft-office-2007-using-wine [...]
ReplyDeleteallright.. now powerpoint works very well, thanks wine rc1! XD
ReplyDeleteIm getting msiapicalfailure!
ReplyDeleteIm 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..
I think this dll is essencial. Try installing the dependencies in winetricks again.
ReplyDeleteWell 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!
ReplyDeleteInstall went perfectly, still cant open Outlook though. "Cannot start Microsoft Outlook" ... here is the debug:
ReplyDeletefixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
err:ole:CoCreateInstance apartment not initialised
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:advapi:RegisterTraceGuidsW 0x38ee62e8 0x442628 0x442630 14 0x442690 (null) (null) 0x442640
Any ideas?
No idea, I just try to run outlook and project a lot of times and always get errors.
ReplyDeleteOneNote seems to me as not working which is a shame, as i use it a lot and now i have to use Virtualization :/
ReplyDelete[...] em Inglês: by ME Versão em Indonésio: by [...]
ReplyDeleteHey! I've been following your guide, and everything's fine till I get in
ReplyDeleteMount 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!!!
power point fail to load run in safe mode also failed waht to do anyone please help
ReplyDeleteDoesn't work.
ReplyDeleteInstaller crashes.
i forgot to mention im also trying to install enterprise edition via this method
ReplyDeleteall i get is
ReplyDeletefixme:xrender:X11drv_alphablend not a dibsection
it keeps displaying and the installer doesnt do anyting else
First of all thank you very much Daniel for this great guide.
ReplyDeleteI'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
[email protected] # sh /home/edo/Desktop/winetricks dotnet11
- do the same for the rest !
- Before mounting the office cd I created a folder
[email protected] # 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 ?
I forgot to mention that PowerPoint, word, excel all work.
ReplyDeleteHi all. I have the worst memory ever so no matter who comes up to me - they're just, like, 'I can't believe you don't remember me!" I'm like, 'Oh Dad I'm sorry!'
ReplyDeleteI am from Burma and bad know English, please tell me right I wrote the following sentence: "Vojvodinacarl runs a bigotry that has an diagonal cap.."
With respect ;-), Ram.
I m trying to install office but dont have a CD i have a CD image, dont know how to use the unhide option together with loop.
ReplyDeleteany help please ?
mount -t iso9660 -o ro,loop,unhide
ReplyDeleteThis is why Linux sucks. You have to jump through this many f-ing hoops just to get a single program to install.
ReplyDeleteI think I'll just stick to using RDP until I have a better comprehension of what's going on.
No, this is why companies that doesn't give a fuck to RFCs, ISOs or standards sucks. If lots of programs doesn't use standards and companies loves using software that doesn't use even an ISO form, linux isn't guilty about that.
ReplyDeleteWINE is a good API when you are installing MS Office on the cloud. It also helped me install email archiving for my network.
ReplyDelete