Skip to content

Wine

https://wiki.winehq.org/Wine_User’s_Guide#Versions_of_Wine

installation
1. complete removal of previous wine  + alle dependendies such as mono
and gekco   (using synaptic)
2. sudo dpkg –add-architecture i386

  1. registry
    wget -nc https://dl.winehq.org/wine-builds/Release.key 
    sudo apt-key add Release.key

mint 18.x

sudo apt-add-repository ‘deb
https://dl.winehq.org/wine-builds/ubuntu/ xenial main’

  1. Update packages:
     apt-get update

  2. install one of the following branches
    sudo apt-get install –install-recommends winehq-stable
    sudo apt-get install –install-recommends winehq-devel

If you have previously used the distro packages, you will notice some
differences in the WineHQ ones:

Files are installed to /opt/wine-devel.
Menu items are not created for Wine’s builtin programs (winecfg, etc.),
and if you are upgrading from a distro package that had added them, they
will be removed. You can recreate them yourself using your menu editor.
Binfmt_misc registration is not added. Consult your distro’s
documentation for update-binfmts if you wish to do this manually.
WineHQ does not at present package wine-gecko or wine-mono. When
creating a new wine prefix, you will be asked if you want to download
those components. For best compatibility, it is recommended to click Yes
here. If the download doesn’t work for you, please follow the
instructions on the Gecko and Mono wiki pages to install them manually.

wine --version

ward@lapwm2-lxm ~/tmp/OneNote2010 $ wine setup.exe
wine client error:0: version mismatch 447/547.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

pkill wine
pkill exe

hierna install starts , wil eerst mono & gecko instaleeren  

winecfg

00c5:err:msi:ITERATE_WriteRegistryValues Could not create key
L”SOFTWAREMicrosoftCTFTIP{70FAF614-E0B1-11D3-8F5C-00C04F9CF4AC}CategoryCategory{70FAF615-E0B1-11D3-8F5C-00C04F9CF4AC}{A8BA876D-E619-11D3-8F5D-00C04F9CF4A0}”
00c5:err:msi:ITERATE_Actions Execution halted, action
L”WriteRegistryValues” returned 1627

https://askubuntu.com/questions/777560/microsoft-office-2010-wine

ward@lapwm2-lxm ~/tmp/OneNote2010 $ wine setup.exe
wine: WINEARCH set to win32 but ‘/home/ward/.wine’ is a 64-bit
installation.

To create a 32-bit WINE prefix on a 64-bit Ubuntu system, you need to
open a terminal and run the following command:
the folder (for the prefix) must already exit
WINEPREFIX=”$HOME/prefix32” WINEARCH=win32 wine wineboot

WINEPREFIX=”/home/ward/.wine-x32” WINEARCH=win32 wine wineboot
hierna
export WINEARCH=win32
export WINEPREFIX=”/home/ward/.wine-x32”
wincfg => windows version naar win xp

install in puur x32 env :
ook een fout , nu :
0032:err:msi:execute_script Execution of script 2 halted; action
L”[ose0080ServiceInstall0080D:00800<=>S-1-5-21-0-0-0-1000<=>{90140000-00A1-0000-0000-0000000FF1CE}]ExecSecureObjectsRollback”
returned 1603

=============  PlayOnlinux  =============  
Please install winbind before installing Microsoft Office 2010

sudo apt-get install winbind

!!  
 https://sysads.co.uk/2014/02/07/install-ms-office-2010-linux-mintubuntu-playonlinux/

winecfg
cd ~/.wine
less system.reg

========================  fonts ========================
 https://askubuntu.com/questions/86335/installing-other-fonts-on-wine
calibri font gets displayed realy ugly in wie+ onenotebook
view > zooming a lot ; makes ONB readably
calibri font  in [ ~/.wine/drive_c/Windows/fonts.
]{style=”font-size: 11pt”}is very nicely displayed on screen [ **
]{style=”font-size: 11pt”}[(dubbel klik callibri
font)]{style=”font-size: 10pt”}
it is therfore
not** the font used by OneNote
 /usr/share/wine/fonts  and  ~/.fonts do not exist , therefore
font viewer  : no calibri installed on mint
????  ==> calibri from wine : c/windows/fonts gets incorrectly
translated in wine rendering ????


Wine gets its fonts from four places:

  • The standard system fonts at[ /usr/share/fonts.
    ]{style=”font-size: 11pt”}
  • You can add fonts here by installing font packages from Software
    Center, if they’re available. Avoid manually copying files here.
  • Wine’s private[ /usr/share/wine/fonts
    ]{style=”font-size: 11pt”}folder.
  • You shouldn’t add fonts here, but if you see a font in Wine and not
    in the system - it’s probably here. Examples of these fonts include
    Wine’s private marlett, symbol, and tahoma fonts, which are needed
    for application compatibility but otherwise aren’t the best.

The [~/.fonts]{style=”font-size: 11pt”} folder in your Home
directory. This is where you should manually copy self-installed fonts,
either downloaded from the Internet or copied from a Windows install.
The equivalent of the C:WindowsFonts folder within the current Wine
prefix. Unless you specified the WINEPREFIX environment variable when
running Wine, This will generally be located
in[ ~/.wine/drive_c/Windows/fonts.]{style=”font-size: 11pt”}
In the case of conflicts (eg you install the real Tahoma font into your
home directory), Wine is smart enough about it and uses the
manually-installed ones.

Font configuration ,  TrueType fonts Windows :  it’s  a matter of
copying the .ttf files into c:windowsfonts.