Open Bottles with flatpak run com.usebottles.bottles. From preferences download the runner “caffe 9.7”
Create a custom → 32 bit bottle with caffe 9.7 runner called “office32bit_caffe9_7”
On bottle options → settings → compatibility, select Windows 7 and make sure winebridge is disabled.
On the main bottle screen → tools run Registry editor.
Returning to Bottles, in the same Tools section, open Legacy Wine Tools → Configuration → Graphics Tab → Emulate a Virtual Desktop (1920x1000)
From Options → Dependencies section, install vcredist 2010, 2012 and 2013, riched20 and 30, allfonts
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
Then, download Microsoft Smart Card WinSCard.dll (extract it from zip).
And drop the dll in /home/sglbl/.var/app/com.usebottles.bottles/data/bottles/bottles/office32bit_caffe9_7/drive_c/windows/system32
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:
winscard → native,builtinOptional but recommended:
mscoree → disabledmshtml → builtinApply → OK.
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
# 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