This is an ongoing entry on various tricks I’ve learned about using Wine.
Do Not install Wine from the Debian repositories. It is much easier to install from WineHQ directly. In those instructions you add WineHQ has an apt repository as well as install the necessary keys.
Following installation, be sure to have Winetricks installed:
apt-get install winetricks
This has a few tricks involved. All wine files will be stored in “mywine”, in addition Winetricks is used to jumpstart the configuration and install some basics. This should be only run once.
mkdir ~/mywine
WINEARCH=win32 WINEPREFIX=~/mywine winetricks win7 corefonts
Emulate a complete “Win7” desktop and run your windows program.
WINEARCH=win32 WINEPREFIX=~/mywine wine explorer /desktop=shell,1024x768 *mypgm*
To check for COMx mappings to serial devices run
ls -l ~/mywine/dosdevices
Winetricks additional support (run once)
WINEARCH=win32 WINEPREFIX=~/mywine winetricks gdiplus msxml3
Created: 2024-03-14 | Modified: 2024-04-01 |