Office 2007 and Wine with dual prefix

When configuring Wine in the form in the previous article, the first prefix created may be 64-bit.  In this situation, e-sword installed correctly.  An issue presented itself when attempting to run Microsoft Office 2007 related to MSXML5 installation.  This issue prevents adding custom buttons to the quick access bar, adding the data analysis add-ons to Excel, and it even prevents saving files in Word or other documents.  The solution for this is creating a second prefix, this one 32 bit.  The prefixes can exist side by side and run programs from each at the same time.   If .wine is a 64 bit prefix, create a new folder, called .wine32, and launch Wine to create the appropriate folder structure.

$ WINEPREFIX=”$HOME/.wine32″ WINEARCH=win32 wine wineboot

Then, to install the app in the 32 bit prefix, use the following while replacing the word username with the actual user name. In this case, the Office 2007 installer was renamed setup.exe.

$ WINEARCH=win32 WINEPREFIX=/home/username/.wine32 wine /home/username/Downloads/setup.exe

This will create the appropriate icons for the software installed into the 32 bit prefix.  Then, it is possible to run programs from the 32 bit prefix (such as Office 2007) and the 64 bit prefix (the default at the time the first application was installed).

Office 2007 running in 32-bit Wine prefix on CentOS 7

Leave a Reply