Monday, May 23, 2016

Wine 2.0 says it supports Office 2013. How do I actually install it?



I managed to get Office 2013 almost to work with Crossover, but not with Wine 2.0. Latest Wine is supposed to support Office 2013, but I find no tutorials how to actually achieve that. So if the statement about support is true, how do I accomplish installing MS Office 2013 to Ubuntu with Wine 2.0?




I installed office 2013 and I used to get a black window after starting it up.
I fixed the black screen by following the solution posted in the WineHQ-Forum.



Here's what I did:



Install Wine and Components



First, install wine 2.1 (might als work with 2.0 'winehq-staging')



sudo add-apt-repository ppa:wine/wine-builds

sudo apt-get update
sudo apt-get install --install-recommends winehq-devel


Install 'winbind'



sudo apt install winbind


Create Clean 32bit Prefix for Win7




Crete a clean 32 bit prefix and start up winecfg:



WINEPREFIX=~/.wine/Office2013 WINEARCH=win32 winecfg


In the winecfg applications tab select "Windows version: Windows 7"
Close wine config and install winetricks



Install Libraries




sudo apt install winetricks


Then start winetricks for your prefix



WINEPREFIX=~/.wine/Office2013 WINEARCH=win32 winetricks


accept "select the default wineprefix" with OK.

Now, select "Install Windows DLL components" and go and install msxml6



I also installed the cambria font, but that shouldn't matter.



Don't close winetricks just yet, you most likely want to fix the black screen bug.



Fix Black Window



In order to fix the black window that impedes Office 13 to be used, add the HKCU\Software\Wine\Direct3D\MaxVersionGL new DWORD value 30002 (hexa) to the registry.




Here's how to do this:
In Winetricks select Run regedit and wait for the Registry Editor window to open.
In the folder tree expand HKEY_CURRENT_USER - Software - Wine and create a new key in the Wine folder. To do so, right click, select new-->key and name it Direct3D. Now create new-->DWORD Value, rename the file to MaxVersionGL and set the value data to 30002 (hexadecimal).
Close the Registry Editor window.



It should look like this:
Registry Editor Entries
Close the Registry Editor window.



Close the winetricks window and run installer:




Install Office 2013



WINEPREFIX=~/.wine/Office2013 WINEARCH=win32 wine ~/PathTo/Office2013Setup.x86.exe


From here, the install runs and completes 100%.



Open one of the Office programs of your choice. They mostly work, but I found that the Word Math Typesetting does not work and Power Point may not start as well due to "not enough memory or system resources". So, still room for improvement.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...