I have to admit that I absolutely love Office 12, I’ve be using it on Ubuntu since 8.04 and OpenOffice just doesn’t compare! So, I needed to install Office 2007 onto Ubuntu 9.04 (as I did a clean install). If you do too, follow along with my handy guide!
Uninstall Previous Versions Of Wine
For some odd reason, Office 2007 will not run on a version of Wine above 1.1.14. For that reason, if you currently have Wine installed, uninstall it by follow these steps:
- Open the terminal.
- Enter the following:
sudo apt-get remove wine - Remove the hidden Wine folder by entering the following into the terminal:
rm -rf ~/.wine
Install Wine
I’ll be using Wine 1.1.14 as I know it works.
- Open Firefox and navigate to the The WineHQ .deb Packages Archives and download Wine 1.1.14 for your system architecture.
- Install the .deb
- You will see a dialog box that reads: “An older version is available in the software channel.”

- Click the “Close” button.
- Click the “Install Package” button.

- Enter your password to install Wine.
Install Microsoft Office 2007
Now the fun part!
- Insert your Microsoft Office 2007 install disc into your computer’s CD-ROM drive.
- Look for the setup.exe executable.
- Right-click the installer and click “Open with other application”
- Choose Wine Windows Program Loader.
- Enter your serial number.
- Accept the User Agreement.
- Click the large “Install Now” button

If you click the Customize button, you can chose which components you want to install. You can also enter your name, initials and company name. This information will be embedded into every document that you create, just like in the PC version.


Install Winetricks
- Switch back to the terminal and enter the following:
sudo wget www.kegel.com/wine/winetricks - Once complete, enter this command:
sudo apt-get install cabextract - Enter the following:
sh winetricks corefonts tahoma vcrun2005sp1 wsh56js - Agree the Visual C++ license agreement.

- Click the “Yes” button to install Windows Script 5.6

- Agree to the license agreement.
Configure Wine
- Enter the following into the terminal:
winecfg - Switch to the Libraries tab

- In the New override for libraries combo box, enter: riched20 and click the “Add” button
- With riched20 highlighted, click the “Edit” button.
- Select the “Native (Windows)” radio button and click the “OK” button.

- Enter usp10 into the New override for libraries combo box.
- Click the “OK” button to close the Wine configuration dialog box.
Test Microsoft Office 2007
All of the Microsoft Office applications should now have appeared in your application menu: Applications->Wine->Programs->Microsoft Office
For some odd reason, Office 2007 will not run on a version of Wine above 1.1.14
The only thing that I don’t agree is about this line “Office 2007 will not run on a version of Wine above 1.1.14″ actually you can use Wine versions 1.1.12 to 1.1.16 and 1.1.24 in installing it.
Try to update your guide again, the latest wine 1.1.24 has fixed the (odd reason) “regression issue” in installing Microsoft Office 2007.
Also,
“I’ll be using Wine 1.1.14 as I know it works.
1. Open Firefox and navigate to the The WineHQ .deb Packages Archives and download Wine 1.1.14 for your system architecture.”
There is no Wine 1.1.14 for Jaunty
please answer, OpenOffice.org is, I’m afraid, CRAP!!! (
David,
If you check out there .deb archives, you’ll notice there are packages for Wine 1.1.14 – but they’re not in your the repositories:
Remember: You need to uninstall any previous installed version of Wine before installing any 1.1.14.
There is really no Wine 1.1.14 for Jaunty from this site http://wine.budgetdedicated.com/archive/index.html but you can use the Hardy’s wine instead.
As of now, the only issue I’ve noticed right now in wine 1.1.24 is the Multiple entries listed for MS OFFICE.
Play On Linux uses wine also if you can only provide the error message from your terminal I/We can help.
Thanks a lot, but I installed it using PlayOnLinux that does the job for you
(playonlinux.com)
I have followed your tutorial and I hope I could install successfully MS Office 2007. I am using wine ubuntu 9.04 and wine verion 1.1.14.
Now I can run Word, Excel, Power Point and Outlook. but unfortunately I was not able to run “MS Office Access 2007″
also I tried to run on Console and then I got this following output:
mohsinreza@mohsinreza-laptop:~/.wine/dosdevices/c:/Program Files/Microsoft Office/Office12$ wine MSACCESS.EXEfixme:actctx:parse_depend_manifests Could not find dependent assembly L"AceDAO"
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\Program Files\\Microsoft Office\\Office12\\MSACCESS.EXE") not found
err:module:import_dll Library MSVCP80.dll (which is needed by L"C:\\Program Files\\Microsoft Office\\Office12\\MSACCESS.EXE") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Microsoft Office\\Office12\\MSACCESS.EXE" failed, status c0000135
Is there any help to run MS Access?
I have coppied MSVCR80.dll and MSVCP80.dll
from
/home/mohsinreza/.wine/dosdevices/c:/windows/winsxs/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acdto
/home/mohsinreza/.wine/dosdevices/c:/windows/system32then now I am getting C++ run time error message with a dialogue window.
Runtime Error!Program: C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE
R6034
An application has made an attempt to load the C runtime library incorrect.
Please contact the application's support team for more information.
in this case I got following log through console:
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"AceDAO"err:module:attach_process_dlls "MSVCR80.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Microsoft Office\\Office12\\MSACCESS.EXE" failed, status c0000142
please let me know, if you already have some solutions for this kind of problem.
thanks in advance.
Mohsin
Try:
sh vcrun2005vcrun2005 – installs MS C++ 2005 libraries, mfc80, msvcp and msvcr80.
If that doesn’t work, delete Wine and start over:
sudo apt-get remove winerm -rf ~/.wineReinstalling the same Wine version won’t help see http://ubuntuforums.org/showthread.php?t=885111 for details
Deleting wine folder will help.
Try:
rm -rf ~./winenot
rm -rf ~/.wineIf someone will encounter problems using this guide you can also ask help from http://ubuntuforums.org/forumdisplay.php?f=313 make sure to search first before asking questions.
Reinstalling the same wine version won’t help see details from this site http://ubuntuforums.org/showthread.php?t=885111
and the code to delete the hidden wine folder is
rm -rf ~/.winenot
rm -rf ~./wineThanks!
Totally rocks. Works well. Thank you so much. Just a clarification needed. You say “# Enter usp10 into the New override for libraries combo box.”. Should I click the “Edit” button for usp10 and Select the “Native (Windows)” radio button and click the “OK” button?
Nope, only for riched20.
Thanks Saman. Great job. Keep it up.
Hi. Thanks a lot. Works well most of the time. I have just one small annoyance. When I use powerpoint and I try to rotate any object like a shape or textbox, the background turns black and I cannot see the slide. But the rotation works. As soon as I stop rotating the object, the slide looks normal with the newly rotated object. If this black background during object rotation can be fixed, it would be great.
Thank you so much.
Cheers,
Morpheus
Hi
First I want to thank you very much. It really works. However I have some problems with excel text field and axis description when text has to be aligned to y axis (going down or up instead horizontally). In such case all text is compressed to one point.
Much less important issue is lack of ms icons for word, excel and so on after installation and lack of link to exe files in wine. But I just made in Inkscape my own icons connected to exe files and I placed them on toolbar.
I am using the newest wine and you recommended older version so that maybe a reason for these problems? Anyway it is just small inconvenience comparing to nicely working suite.
Hi Chris,
I too have exactly the same problem and looks like there is no fix. However, what I do is use word-art and rotate it vertically for the y-axis and it looks fine. I choose the simplest word-art so it is not evident for someone seeing the excel chart.
Hope this helps.
With regards to Powerpoint, I agree, I too have exactly the same problem as Morpheus. Not really a problem, just an annoyance.
Cheers,
Harry
Hello,
Unfortunately, still now I am not success with MS Access database.
Do you have any luck to run MS Access on wine?
If you have the luck to run MS Access on wine the please let me know the procedure. Please let me know as step by step. As I am facing a problem to run MS Access, “C++ Run time error.”
even I was not able to successfully install the vcrun2005 by using winetricks. Hope I will get some reasonable solutions.
Thank you.
Mohsin
i have sort of an unusual problem where word and excel work but if i try and start powerpoint it first will start then immediately close and if i try and start it a second time i will get asked to run it in safe mode. it never starts fully. has anyone else experienced anything similar or know of any fixes?
Ali,
Your problem can be fix by clicking Applications>Wine>Wine Configuration then click Libraries be sure to add riched20 and set it to native windows.
That’s it!
jhoeijao
Trying to run outlook i got the msg
Cannot Open Outlook window
an the program crashes
Any idea ?
Thank you
Dimi
I cann’t run the outlook too. I got a same message as you.
when I try to run by command line,it showed like this
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
err:ole:CoCreateInstance apartment not initialised
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:mscoree:GetRequestedRuntimeInfo ((null), L"v2.0.0", (null), 0x00000000, 0x00000051, (nil), 0x00000000, (nil), 0x32f57c, 0x0000001e, 0x32f574) stub
fixme:mscoree:GetCORVersion (0x32f57c, 30, 0x32f574): semi-stub!
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:advapi:RegisterTraceGuidsW 0x38ee62e8 0x442650 0x442658 14 0x4426b8 (null) (null) 0x442668
fixme:process:SetProcessShutdownParameters (00000180, 00000000): partial stub.
fixme:loadperf:InstallPerfDllW ((null), L"C:\\prog~fbu\\micr~hfz\\office12\\1033\\outlperf.ini", 0)
fixme:advapi:RegisterEventSourceA ((null),"Outlook"): stub
fixme:advapi:RegisterEventSourceW (L"",L"Outlook"): stub
fixme:advapi:RegisterEventSourceA ((null),"Outlook"): stub
fixme:advapi:RegisterEventSourceW (L"",L"Outlook"): stub
err:animate:ANIMATE_WindowProc unknown msg 0410 wp=00000000 lp=00000000
fixme:advapi:CreatePrivateObjectSecurity (nil) (nil) 0x32f5d0 0 0x334 0x3917f380 - stub
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
err:rpc:I_RpcGetBuffer no binding
fixme:advapi:CreatePrivateObjectSecurity (nil) (nil) 0x32f61c 0 0x60c 0x3917f380 - stub
fixme:ole:CoSuspendClassObjects
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:CheckTokenMembership ((nil) 0x1493c8 0x32fdd4) stub!
fixme:advapi:CheckTokenMembership ((nil) 0x1493c8 0x32fdd4) stub!
fixme:advapi:RegisterEventSourceW ((null),L"Microsoft Office 12 Sessions"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00001b58,(nil),0x0006,0x00000000,0x32fd34,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
I still wait for help.
Thank you.
Note
Thank you so much for this blog.
I have been trying to get onenote working for about 4 hours (Sad I know, but I need it for my studies). This is the only easy to use setup blog that got onenote fully opp for my needs.
Wonderful ( :
I did the install, but none of the Office apps show up in the Wine Programs tab. If I go to “Browse C: Drive” it has Microsoft Office, but no application launching icons… What did I do wrong?
I had the same problem…did anyone solve this?
Thank you Harry, I was trying and it works
.
Demian – I had the same problem but when I have installed another software by wine all Office apps showed up in Wine Programs tab with all icones. Hope it will work for you too.
Hello and thank you for this wonderful follow-through.
I have made office work apart from one excel spreadsheet that makes use of macros. Every time a macro is to be executed I receive a popup box informing me the following: “Run-time error ‘5′: Invalid procedure call or argument”.
Is it at all possible to run macros and what do you think may be the cause of my problem.
Any help appreciated.
All the best,
Dusan
Hello!
This walk through almost works
. I can start ms word and power point without having problems, only when I try to start excel there is a strange error:
Exception raised: Unhandled page fault on write access to 0×00000004 at address 0×7eddceb5. Do you wish to debug it?
Does anyone have an idea what it means?
Thank you!
xenny
For the curious amongst us, could you explain what the purpose of the “Overrides for libraries” entries riched20 and usp10 are for? What do they do? How do they do it?
These step by step instruction is pretty clear and precise. No one could go wrong following this lead. Thank you so much for this guide.
u r a freaking legend 10/10
i tried other sites you are only good. but i have a lil problem the document is not justified its on the left you know u usually open office in windows the a4 page is in the middle now its on the far left…
nothing big hahhahha
just go to view and change the settings there.
I tried to install as described but during installation I get an error. It says some file (for instance Setup.xml) is not found. I checked and it actually exists. I point the directory where it exists but still no luck, it insists it doesn’t exist. Any help on this issue would be great.
Thanks a lot in advance.
Thank you for providing these instructions. I was able to successfully install and execute Office 2007 Enterprise, with Wine 1.1.26 (i386) and winetricks, on Ubuntu 9.04 Netbook Remix.
Everything installed on my machine nicely. Unfortunately, my Student edition of Office 2007 has already been activated three times. I actually activated it on the same machine that Ubuntu is running on. Is there any way around this besides getting MS on the phone and explaining everything is the same as before – except I now have a different OS?
Thanks!
I get the following when trying to run Access? Any ideas guys?
tony@TED:~/.wine/drive_c/Program Files/Microsoft Office/Office12$ wine msaccess.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L”AceDAO”
err:module:import_dll Library MSVCR80.dll (which is needed by L”C:\\Program Files\\Microsoft Office\\Office12\\msaccess.exe”) not found
err:module:import_dll Library MSVCP80.dll (which is needed by L”C:\\Program Files\\Microsoft Office\\Office12\\msaccess.exe”) not found
err:module:LdrInitializeThunk Main exe initialization for L”C:\\Program Files\\Microsoft Office\\Office12\\msaccess.exe” failed, status c0000135
tony@TED:~/.wine/drive_c/Program Files/Microsoft Office/Office12$
Thanks
Use the newest wine version for Ubuntu 9.04 64-bit with the same instructions in this page. IT WORKS
Hello i have some Problem by installing Office 2007 now the Office.de-de/Office-Mui.xml and branding.xml
LG
Franz
If you try to install to the linux filesystem (Z:) you get this error. Install into C: somewhere and it works.
works the installation with kubuntu 9.04 32 bit?
by using playonlinux ist the same problem
LG
Franz
Hello. Thank”s for excellent guide. I have already tested this on my PC Wine version 1.1.28. Excel, Word, Outlook working good but Excel and Groove doesn”t work. Anybody can help me? Tested on Ubuntu Jaunty.
This guide worked great, but when I open outlook 2007 and try and connect to my exchange server I get the error
“Outlook cannot log on. Verify you are connected to the network and are using the proper server and mailbox name. The operation failed.”
I have tried the short name, the FQDN and just the IP address of the server and it is the same message every time. I know the application is working on the network because I can connect through the POP3 protocol without issue. Anyone know how to fix this? I also tried upgrading to the latest wine 1.1.28 after the successful install of office.
Hi,
Great guide! It works well except for the purpose I wanted it for
I need to use makros in excel and like Dusan I get an error message and is forced to close…
Can anybody help?
Regards
Thanks for the excellent guide but Outlook do not work for me.
When trying to run Outlook I got the message:
“Cannot Open Outlook window”
Any idea?
Thx!
Why is it when the prompt for keying in of the serial number the blinking cursor didn’t appear?
Why is it when the prompt for keying in of the serial number the blinking cursor didn’t appear?
Thats because you used the “New override for libraries” step before installing. Remove them, install, then add them again.
I want to uninstall Office 2007. How would I do that?? should i remove them one by one from wine??
Works like charm! Keep up good work!
I’m using wine-1.1.31 on Kubuntu 9.04
Thx a lot.
Hey! Thanks for this how-to! Worked perfectly fine on my system. However, I used Wine version 1.1.31 and encountered no problems.
So as of now, I’m running Microsoft Office 2007 on Ubuntu Jaunty.
P.S. — I’m going to blog about it later… and can I repost some of your steps? I’ll give you credit of course.
Thanks!
hello,
today i reinstalled ubuntu 9.04, and updated to 9.10 beta.
i have tried wine versions:
1.1.14
1.1.16
1.1.18
1.1.24
1.1.29
1.1.31
but none of these seems to work, some give me the error window, and the rest just do not start it (in the window list appears “starting setup.exe” but it disappears aftes some seconds)
i removed each time the wine software using the commands:
sudo apt-get remove –purge wine
rm -rf ~./wine
rm -rf ~/.wine
(i saw someone recomending the third istead of the second to delete the hidden wine folder, so i used both)
any suggestions?
thanks
haii,,
First of all, your guide is awesome. I installed it painless on a friends pc. But trying to install it on my own pc is a pain.
I’ve installed wine 1.1.14 after that I tried to run the office setup.exe. The first time I had a error “Windows is too old” :S
After that the error Windows disappeared but another one came up. “Setup cannot continue because a required file is either corrupt or not available. Run setup again” So I did some test on a vista pc and my friends pc again there was nothing wrong with it.
So anyone has a suggestions what to do and how to solve it?
Ty in advantage
Daniel
Hello.
Thanks for the guide.
I have the same problem as some other people : impossible to start outlook.
I tried to override rpcrt4.dll (as found on some others web pages) but the problem remains : the error message changes but there is still a probme with rpc_something.
Any idea ?
–
Fred
i solved the problem i stated above, it was too siple..
i used an iso image of the office 2007 i have on my HDD, but to mount it i was using “right click -> open with archive mounter” so i had the above problem.
finaly i tried to mount it using terminal, with the command:
mount //office2007.iso //office2007folder -o loop
and it installed effortlessly with wine 1.1.16
@Daniel
check if wine is set to use windows vista or xp
@berdux
its vista… haha but ty for thinking tho
All the instructions were great, does anyone know how i can get powerpoint to work? also, if just click an offic file it tells me when the program opens that it cant find it but if the program is already open and i then search for the file and open it it works. Is there anyway around this perculiar set up?
what about “OpenOffice”? its free
http://www.openoffice.org/
Hey dude awesome walkthrough one of the best around i must say. however 1 small problem. all apps work except for Access it looks like it attempts to open up but then just closes down any suggestions anyone?
I use Wine 1.1.24 i386, -dev and it all works except when I try to run macros in Excel. I experince the same problems as other has mentioned before me. Has anyone been able to run macros in Excel?
Jesus!
You just saved me!
Ubuntu 9.10 Karmic Koala + Wine 1.1.32 + Winetricks = MS Office 2007
Great thanks!
Worked like a charm, thanks.
There is something that won’t work though, inserting charts in word. It says:
Dialog 1:
“To insert a chart, you must first close any open dialog boxes or cancel editing mode in Microsoft Office Excel.”
Then I click ok and get:
“Some chart types cannot be combined with other chart types. Select a different chart type.”
It doesn’t matter which chart type I choose, I still get the same error.
Any ideas?
Also I never got the Visual C++ license dialog. It could have something to do with that, how do I force it?
I want first to thank you for this post
However I am having 3 problems:
(1) I am having exactly the same problem as Mosselman, any solution for that?
(2) In addition to that, this problem exists in Powerpoint besides not all shapes could be inserted it turns into black slide!!!
(3) Access doesn’t open at all, it keep telling “Starting Microsoft Access” then nothing happens!!!!
Note: I am newly switched to Linux environment.
App doesn’t even start, and I tried to run them on console and I even can’t get to the directoru Program Files
Saman,
Just to say “thanks” for this user guide. I’ve been trying for ages to try and install MS Office 2007 Enterprise in Ubuntu. Yours is the only guidance that seems to have worked with acceptable results.
Many thanks and all the best to you.
GrahamG, UK
Saman,
Just to say “thanks” for this user guide. I’ve been trying for ages to try and install MS Office 2007 Enterprise in Ubuntu. Yours is the only guidance that seems to have worked with acceptable results.
Many thanks and all the best to you.
GrahamG, UK
By the Way: I am using Xubuntu 9.10 and I downloaded Wine 1.1.24. I also followed your instructions to the letter.
At the end of your instructions you say:
6 Enter usp10 into the New override for libraries combo box.
7 Click the “OK” button to close the Wine configuration dialog box.
I assumed you had to click the “Add” button after step 6 and then do step 7?
Many thanks once again.
GrahamG, UK
Hello, I found the guide very useful, thank you. I easily installed Office 2007 and it all worked…….but the next day I booted up and now none of the apps start – in app bar it says “starting Microsoft Office Word 2007″ for example and then after 10 seconds this disappears and the app does not start. I havent made any config changes to my setup since yesterday apart from installing some other apps. Can you help please?
Thanks for the guide. I’ve not had much experience with Ubuntu so this might come in handy one day.
Thanks for this how-to !
But I got a problem..
When installing, at almost 75%, it shows me a pop-up asking me that he couldn’t find “setup.exe” and asks me to find the good folder.
Any help?
Thanks a lot !
PS : Running on 9.10, Wine 1.1.32 (same problem with 1.1.14)
If you get an error like this when running MS Access:
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"AceDAO" (12.0.0.0)
err:module:import_dll Library MSVCR80.dll (which is needed by L"C:\\Program Files\\Microsoft Office\\Office12\\MSACCESS.EXE") not found
err:module:import_dll Library MSVCP80.dll (which is needed by L"C:\\Program Files\\Microsoft Office\\Office12\\MSACCESS.EXE") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Microsoft Office\\Office12\\MSACCESS.EXE" failed, status c0000135
Change the manifest file for access msaccess.exe.manifest found in [Your Wine Prefix]../Program Files/Microsoft Office/Office12 and remove the dependency reference to AceDAO, ie edit the file and remove the following lines: (it may be run together on the same line...)
I am getting this error, when I tried to open any MSOffice application
Microsoft Office is not installed for this user, run setup for installation.
Thank you very much for this how-to. It also works perfectly with Ubuntu Karmic 9.10.
Michael
thanks for d awesome step by step how-to documents.
I have installed ubuntu 9.04 with wine 1.1.37.
office 2007 is installed well but outlook does not open. it is giving error message.
Please help me if anyone resolved this issue. I reinstalled wine and office 2007 no of times. but no luck.
The guide was great, and it installed easily. However, while all the programs seemingly work, they programs do not appear under the Wine>Programs. Instead, I have to navigate to the .exe files and launch them with Wine. Any help on this?