Outils pour utilisateurs

Outils du site


tech:notes_wine

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:notes_wine [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:notes_wine [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon windows Wine}}
 +
 +# Notes Wine
 +
 +Voir aussi :
 +* https://www.protondb.com/
 +* [Crossover](https://www.codeweavers.com/crossover/)
 +* winetricks
 +* PlayOnLinux
 +* ./play.it
 +* <https://en.wikipedia.org/wiki/Proton_(software)>
 +
 +Voir :
 +* https://linuxfr.org/users/pas_pey/journaux/wine-11-ntsync-debarque-en-production-et-ca-envoie-du-lourd
 +
 +
 +Voir également la version commerciale :
 +https://www.codeweavers.com/products/crossover-linux
 +Ce n'est pas libre, mais ca aide Wine qui lui est libre.
 +
 +
 +Debug
 +~~~
 +#export WINEDEBUG=+relay
 +export WINEDEBUG=all
 +~~~
 +
 +Notes
 +~~~bash
 +dpkg --add-architecture i386
 +apt-get update
 +apt-get install wine32:i386
 +~~~
 +
 +''~/.PlayOnLinux/''
 +
 +
 +~~~bash
 +apt-get install mono-runtime wine playonlinux winetricks
 +apt-get install mono-complete
 +apt-get install cabextract
 +~~~
 +
 +Notes
 +~~~
 +mkdir -p ~/myapp/prefix
 +export WINEPREFIX=$HOME/myapp/prefix 
 +export WINEARCH=win32 
 +export WINEPATH=$HOME/myapp 
 +wineboot --init
 +
 +cd $HOME/Downloads
 +wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
 +chmod +x winetricks
 +sh winetricks corefonts vcrun6
 +
 +winecfg
 +~~~
 +
 +
 +Old
 +~~~baash
 +WINEARCH=win32 WINEPREFIX=/$HOME/.win32 winecfg
 +# ln -s /usr/bin/wine32 /usr/bin/wine
 +export WINEPREFIX=$HOME/.win32
 +export WINEARCH=win32
 +# export WINEDEBUG=warn+all
 +# export WINEDEBUG=fixme-all
 +## Perf
 +# export WINEDEBUG=-all
 +~~~
 +
 +Voir https://doc.ubuntu-fr.org/wine_profils
 +
 +~~~bash
 +winetricks --gui
 +env WINEARCH=win32 WINEPREFIX=/$HOME/.win32 winetricks list-installed
 +~~~
 +
 +
 +## Installer un paquet MSI
 +
 +~~~bash
 +wine msiexec /i wine-mono-4.7.3.msi
 +~~~
 +
 +## Install de Wine Mono
 +
 +~~~bash
 +export WINEPREFIX=$HOME/.win32
 +export WINEARCH=win32 
 +wine msiexec /i wine-mono-4.7.3.msi
 +~~~
 +
 +
 +
 +## Pb
 +
 +### Exemple de cas tordu
 +
 +http://www.silaexpert07.fr/silae/_deploy/http/www.silaexpert07.fr/80/SilaeClient_1_1138_0_4/SilaeClient.exe.manifest
 +http://www.silaexpert07.fr/silae/_deploy/http/www.silaexpert07.fr/80/SilaeClient_1_1138_0_4/SilaeClient.exe
 +
 +~~~
 +$ file SilaeClient.exe
 +SilaeClient.exe: PE32 executable (GUI) Intel 80386 Mono/.Net assembly, for MS Windows
 +~~~
 +
 +Donc 32 bits
 +
 +~~~
 +$ strings SilaeClient.exe  |grep -i \.net |head
 +Paint.NET v3.5.100
 +Paint.NET v3.5.100
 +~~~
 +
 +Il faut le .NET v3.5
 +
 +Avec Wine Mono
 +~~~
 +$ wine SilaeClient.exe 
 +
 +Unhandled Exception:
 +System.IO.FileNotFoundException: Could not load file or assembly 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
 +File name: 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null'
 +[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
 +File name: 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null'
 +
 +$ mono SilaeClient.exe 
 +WARNING: The runtime version supported by this application is unavailable.
 +Using default runtime: v4.0.30319
 +
 +Unhandled Exception:
 +System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies.
 +File name: 'DevComponents.DotNetBar, Version=8.0.0.4, Culture=neutral, PublicKeyToken=null'
 +~~~
 +
 +Il manquait les dépendances suivantes :
 +* DevComponents.DotNetBar.dll  
 +* ExcelLibrary.dll
 +
 +~~~
 +http://www.silaexpert07.fr/silae/_deploy/http/www.silaexpert07.fr/80/SilaeClient_1_1138_0_4/DevComponents.DotNetBar.dll
 +http://www.silaexpert07.fr/silae/_deploy/http/www.silaexpert07.fr/80/SilaeClient_1_1138_0_4/ExcelLibrary.dll 
 +~~~
 +
 +
 +
 +## Autres
 +
 +Voir depends.exe http://www.dependencywalker.com/
 +
 +Mono
 +~~~bash
 +mono --runtime=v4.0 application.exe
 +~~~
 +
 +https://bugs.winehq.org/show_bug.cgi?id=30410
 +~~~bash
 +echo 0 |sudo tee /proc/sys/kernel/yama/ptrace_scope
 +~~~
 +
 +DLL
 +~~~bash
 +#!/bin/sh
 +#
 +# Lanceur NetMeeting
 +/usr/bin/wine Rundll32.exe msconf.dll,OpenConfLink $1
 +~~~
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki