Technical Anshu
Tutorials Blog
🛠️ Installer Fixes

Microsoft Office Install Fails on Wine Fixes That Work

Office setup starts, runs for a while, then dies with an error and rolls everything back — the classic Wine experience. Most failures come from three fixable causes — a 64 bit prefix, missing components, or a poisoned half-install. Work through these fixes in order.

✍️ Technical Anshu🐧 Ubuntu and Linux⏱️ 7 minute read
🎥 Watch the video — the clean install method first, then use these fixes if your setup hits the error

Do not keep re-running the same installer and hoping for a different result. Each fix below removes one known cause of failure, and the order matters. One rule before everything — if an earlier attempt half-installed Office, that prefix is poisoned. Leftovers from a failed setup are the top reason the second and third attempts fail in exactly the same place.

Microsoft Office Setup — the failure dialog
Microsoft Office Professional Plus 2010

Microsoft Office Professional Plus 2010 has encountered an error during setup.

The exact message thousands of Wine users meet. It looks final — it is not. It usually means the prefix was wrong, not the installer.
1

Start Again in a Fresh 32 Bit Prefix

The 64 bit default prefix is the number one cause of Office setup errors. Delete the damaged attempt completely and rebuild the prefix as 32 bit — partial deletions leave the failure in place.

  1. Stop every Wine process with WINEPREFIX=$HOME/.wine-office wineserver -k
  2. Delete the prefix with rm -rf $HOME/.wine-office
  3. Recreate it with WINEARCH=win32 WINEPREFIX=$HOME/.wine-office winecfg
  4. Set Windows Version to Windows 7 for Office 2010 and close winecfg
2

Install Components Before the Installer, Not After

Setup failures in the middle — including the well-known Error 1935 — often trace back to libraries the installer assumed Windows already had. Give the fresh prefix its components first, then install.

  1. Run WINEPREFIX=$HOME/.wine-office winetricks corefonts msxml6 riched20
  2. Let every small installer window finish — do not close them early
  3. Only then start the Office setup

If a terminal log complains about a Visual C++ runtime, add it the same way, for example winetricks vcrun2008 with the same prefix variable in front. Winetricks fetches proper Microsoft copies, which is safer than random DLL download sites.

3

Set the riched20 Override Manually

Winetricks usually sets this for you, but on stubborn systems the override does not stick — and without the native riched20, installer screens freeze, licence text never loads, and setup dies quietly.

  1. Open WINEPREFIX=$HOME/.wine-office winecfg
  2. Go to the Libraries tab and type riched20 in the override box
  3. Click Add, then Edit, and choose Native (Windows)
  4. Apply, close, and run the installer again
4

Run Setup from a Terminal and Read the Error

Double-clicking setup.exe hides the evidence. Running it from a terminal shows exactly where and why it stopped — and the last few lines are usually the whole story.

  1. Open a terminal in the folder that holds setup.exe, on a local disk — not a network share
  2. Run WINEPREFIX=$HOME/.wine-office wine setup.exe and watch the output
  3. If a stuck background process is blocking the retry, clear it with WINEPREFIX=$HOME/.wine-office wineserver -k

Lines starting with fixme are noise — Wine prints thousands. Look for err lines near the point of failure and fix that specific thing instead of changing everything at once.

Terminal — clearing a poisoned prefix
$ WINEPREFIX=$HOME/.wine-office wineserver -k $ rm -rf $HOME/.wine-office
A failed install must go completely. A half-deleted prefix fails the same way on every retry.
5

Match the Windows Version in winecfg

Wine tells programs which Windows it is pretending to be, and Office's installer behaves differently for each answer. The wrong setting causes failures that look random.

  1. For Office 2010, Windows 7 mode is the commonly working choice
  2. For Office 2007, Windows XP or Windows 7 both have good reports
  3. Change it in winecfg, click Apply, and always re-run setup in the same prefix afterwards

Change one variable at a time. If you change the prefix, the components and the Windows version together, you will never know which one fixed it — and the next install becomes guesswork again.

🔴 Know when to stop — if setup still fails after all five fixes, the version itself is almost certainly the problem. Office 2016 and newer installers commonly cannot complete under Wine no matter what you set. Check the version guide in this series before spending another evening — your time is worth more than a broken install.

🎥 Watch the Clean Install Method

The video shows the install done right from the start — prefix, components and setup in the correct order.

▶️ Watch Full Video
❓ Frequently Asked Questions

What does Error 1935 mean during Office setup on Wine

It usually points to a missing runtime or MSXML component inside the prefix. Install the winetricks set — corefonts, msxml6 and riched20 — into a completely fresh 32 bit prefix, then run setup again.

The installer hangs at the same point every time

Kill it with wineserver -k using your prefix variable, delete the prefix, and rebuild with components installed first. A hang is often the installer waiting for a component or service that is not there.

Can I install Office from an ISO file on Wine

Yes. Mount it with sudo mount -o loop office2010.iso /mnt and then run setup.exe from /mnt with your WINEPREFIX variable set, exactly as you would from a downloaded file.

This guide is based on the Technical Anshu video linked above • Stuck on a step? Ask in the video comments — you will get a reply 🙏