I cannot install MS Office 2010 via PlayonLinux in my ubuntu 17.10 (I used to have it in my Ubuntu 17.04 and MS Office 2010 worked fine). The installation boots, I insert the setup.exe file and press ok. Then the windows installation run and everything stops. This is the last window that PlayonLinux opens and hangs on it.
I have run the following usual commands before trying to install it:
sudo apt-get update
sudo apt-get dist-upgrade
Followed this video and use his installation package: https://www.youtube.com/watch?v=Vf8zr096mYQ
UPDATE:
The actual bug is the following:
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Edit 17/2/2018:
After I select the version of wine I want POL to use (system version), POL runs into another error preventing me to install MS Office. Below is the output:
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directorywine: Unhandled page fault on read access to 0x00000004 at address 0x7e9129d1 (thread 0022), starting debugger...
fixme:advapi:RegisterTraceGuidsA (0x2e034c1f, 0x2e0b3d78, {8736922d-e8b2-47eb-8564-23e77e728cf3}, 1, 0x33fd08, (null), (null), 0x2e0b3d78): stub
fixme:process:GetSystemDEPPolicy stub
fixme:process:SetProcessDEPPolicy (1): stub
fixme:advapi:RegisterTraceGuidsA (0x101f411c, 0x103a37e8, {8736922d-e8b2-47eb-8564-23e77e728cf3}, 1, 0x33ee24, (null), (null), 0x103a37e8): stub
fixme:system:SetProcessDPIAware stub!
fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled.
fixme:richedit:REExtendedRegisterClass semi stub
wine: Unhandled page fault on read access to 0x00000004 at address 0x7e6e29d1 (thread 0009), starting debugger...
winedbg: Internal crash at 0x7e7ea9d1
02/17/18 12:56:26 - [POL_Wine] Error: Wine seems to have crashed\n\nIf your program is running, just ignore this message
Best Answer
Follow instructions from this link:
https://gist.github.com/raelgc/4ccc023830bfd12c0227
It worked on Ubuntu 18.10, for both MS Office 2007 and 2010
Install Microsoft Office 2010 on Ubuntu
Requirements
We'll install MSOffice using the PlayOnLinux wizard. Additionally, MSOffice requires
samba
andwinbind
to properly work.So, if not installed, install them:
Of course, you'll need the MSOffice installer files (either DVD/folder files), in the 32 bits version. Even if you're under Ubuntu 64, we'll use a 32 bits wine installation.
Then open POL (PlayOnLinux) from command line (
playonlinux &
) or using Dash.Pre Install
In the POL window menu, go to
Tools
>Manage Wine versions
and install Wine2.13
. Versions below it will crash after click on a document hyperlink. Versions above it will not properly handle the launcher icon (due missingWM_CLASS
when window is maximized).Install
In the POL window, click on Install at top (the one with a plus sign).
1. PlayOnLinux Install menu
At the Install window, at the bottom, select
Office
and make sureCommercial
(at top) is marked.Now select
Microsoft Office 2010
and click onInstall
.2. Welcome to PlayOnLinux Installation Wizard
Nothing to do here other then click on the
Next
button.3. Please Choose an Installation Method
Now it's up to you: select DVD or file installation according your MSOffice installation.
Then click on
Next
.Browse the files or the DVD: the goal here is select the MSOffice
setup.exe
, from the 32 bits version.Now, after click on
Next
: you'll see a sequence of PlayOnLinux installation windows, configuring the new Windows virtual drive, installing components, etc.4. The MSOffice Install Wizard
Automatically the MSOffice installer will be displayed.
Install the MSOffice as on Windows: agree with EULA, select install type, etc.
In the last Install window, click on
Close
in the MSOffice installer: you'll see a PlayOnLinux window still running some additional configurations.Then, a successful message: click on
Next
and the install window will be closed.Now you can close PlayOnLinux.
Post Install
1. Desktop Files
Current PlayOnLinux Office2010 script already creates the above shortchuts.
But in case you deleted them or want to fix something...
Now let's create some
.desktop
files to provide better integration into Ubuntu: you can associate typical MSOffice files, like.docx
to Word; at Dash, typewinword
to run Word, etc.Open a text editor (like
gedit
,nano
orvim
) and create 3 files under~/.local/share/applications
, with the following names and contents.Please, replace
/home/<user>
(at theIcon
line) by your home folder path:Word.desktop
:Excel.desktop
:PowerPoint.desktop
:OneNote.desktop
:After create those 4 files, open a terminal (Ctrl+Alt+T`) and run this command to refresh the Dash entries:
sudo update-desktop-database
One clarification: the
env XMODIFIERS=''
command in theExec
line is to prevent wine to change keyboard behavior (sometimes while using wine the keyboard uses a different layout, so accents will not work properly, etc).2. Printers
If you have a printer properly configured under Ubuntu, probably it'll be automatically available to MSOffice under wine.
If not, we can make it available. Basically, your printer must be installed using
cups
. No problem if the printer is installed using other softwares/drivers, but to get it available for wine, it must be installed undercups
too.If
cups
package is not installed, install it:Then, open
http://localhost:631/
and add your printer.After configure it, print a test page using the related printer in
Printers
fromSystem Settings
.Now, make sure you have this file:
/etc/printcap
. If it's not present, create it this way:Reboot wine: open PlayOnLinux, click
Configure
, selectOffice2010
, click onWine
tab and click onWindows reboot
button.3. Fix Alternate between Excel windows
When you open 2 files in Excel, and click on Excel icon in the launcher by the second time to see opened files (Expose), you'll see a weird behavior: one window properly rendered, and the second with just a single icon.
To fix this, open Excel, then
File
>Options
>Advanced
>General
and checkIgnore other applications that use Dyanamic Data Exchange (DDE)
.Then, to alternate between Excel files, on Excel click on
View
tab and then click onAlternate Windows
.