OFFICE

METHOD 1 - BOTTLES

  1. Open Bottles with flatpak run com.usebottles.bottles. From preferences download the runner “caffe 9.7”

  2. Create a custom → 32 bit bottle with caffe 9.7 runner called “office32bit_caffe9_7

  3. On bottle options → settings → compatibility, select Windows 7 and make sure winebridge is disabled.

  4. On the main bottle screen → tools run Registry editor.

    1. Once it has opened, go to HKEY_CURRENT_USER/Software/Wine. In this folder, create two new keys: Direct2D and Direct3D. This can be done by right-clicking on the Wine folder and selecting New > Key.
    2. In the Direct3D key, create a new DWORD value called MaxVersionGL. Once created, right-click on the value and select Modify. The value data should be 30002 in Hexadecimal mode (which will be selected by default).
    3. Within the Direct2D key, create a new value with New > DWORD Value and name it max_version_factory. This new DWORD will have a value of 0 (default)
  5. Returning to Bottles, in the same Tools section, open Legacy Wine ToolsConfiguration → Graphics Tab → Emulate a Virtual Desktop (1920x1000)

  6. From Options → Dependencies section, install vcredist 2010, 2012 and 2013, riched20 and 30, allfonts

  7. Run (if asked, accept everything including overrides):

    WINEPREFIX=/home/sglbl/.var/app/com.usebottles.bottles/data/bottles/bottles/office32bit_caffe9_7/ winetricks corefonts msxml6 msxml4 vcrun2005 vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun2019 msftedit riched20 riched30 msxml6 gdiplus mspatcha dotnet20 dotnet40 mfc100 cjkfonts
    
  8. Then, download Microsoft Smart Card WinSCard.dll (extract it from zip).

    1. https://www.dll-files.com/winscard.dll.html or

      winscard.zip

    2. And drop the dll in /home/sglbl/.var/app/com.usebottles.bottles/data/bottles/bottles/office32bit_caffe9_7/drive_c/windows/system32

  9. Open

    export WINEPREFIX="$HOME/.var/app/com.usebottles.bottles/data/bottles/bottles/office32bit_caffe9_7"
    export WINE="$HOME/.var/app/com.usebottles.bottles/data/bottles/runners/caffe-9.7/bin/wine"
    
    $WINE winecfg
    

    Make sure you have:

    Applications tab

    Libraries tab

    Optional but recommended:

Apply → OK.

  1. Run:
WINEPREFIX="$HOME/.var/app/com.usebottles.bottles/data/bottles/bottles/office32bitmsi" \\
"$HOME/.var/app/com.usebottles.bottles/data/bottles/runners/caffe-9.7/bin/wine" \\
/media/sglbl/16.0.9029.2167/Office/Setup32.exe

or


cd /media/sglbl/Office-2010-Sp2-Turkce-32-Bit
$WINE setup.exe

METHOD 2 - WINETRICKS

# Remove old prefixes
rm -rf ~/.local/share/wineprefixes/*

# Force unmount the directory in case fuseiso is still holding it
fusermount -u ~/.cache/winetricks/office2013pro/iso_extracted

# Completely clear the folder to ensure a fresh extraction
rm -rf ~/.cache/winetricks/office2013pro/iso_extracted/*

# Install winbind and smbclient 
sudo apt update && sudo apt install smbclient winbind -y

Run winetricks for the verb script office2013pro.verb