# Wine et mono

**URL:** <https://www.debian-fr.org/t/wine-et-mono/71074>\
**Category:** Support Debian\
**Created:** [Septembre 25, 2016, 1:54 UTC](https://www.debian-fr.org/t/wine-et-mono/71074 "2016-09-25T13:54:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alainbrest1](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/76d3ee/32.png) [@alainbrest1](https://www.debian-fr.org/u/alainbrest1)\
**Post date:** [Septembre 25, 2016, 1:54 UTC](https://www.debian-fr.org/t/wine-et-mono/71074/1 "2016-09-25T13:54:28Z")

</div>

bonjour ,

j’ai encore un souci avec linux (décidément rien ne marche chez moi)

avec wine pour être précis .

j’ai installé captvty en suivant toute la procédure du début à la fin .

au lancement , j’obtiens :

`alain-bellec@debian-alain:~/Téléchargements/captvty$ wine captvty err:ole:CoGetClassObject class {079aa557-4a18-424a-8eee-e39f0a8d41b9} not registered err:ole:CoGetClassObject no class object {079aa557-4a18-424a-8eee-e39f0a8d41b9} could be created for context 0x1 err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed alain-bellec@debian-alain:~/Téléchargements/captvty$`

je ne sais plus quoi faire .

j’ai suivi ce lien :

[http://slauncha.dyndns.org/index.php?article71/installation-de-captvty-sous-debian-jessie](http://slauncha.dyndns.org/index.php?article71/installation-de-captvty-sous-debian-jessie)

j’ai téléchargé wine-mono-4.6.3 msi et tar.gz

partant de là , pour moi , c’est la grande inconnue .

l’installation de wine-mono \*.msi donne :

`alain-bellec@debian-alain:~/Téléchargements$ msiexec /i wine-mono-4.6.3.msi err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot err:mscoree:LoadLibraryShim error reading registry key for installroot alain-bellec@debian-alain:~/Téléchargements$`

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Septembre 25, 2016, 2:37 UTC](https://www.debian-fr.org/t/wine-et-mono/71074/2 "2016-09-25T14:37:56Z")

</div>

Faut pas utiliser mono mais installer dotnet40 dans wine  
Voir mon tuto ci-dessous

> [@Captvty sous wine avec Debian 64 bits](https://www.debian-fr.org/t/captvty-sous-wine-avec-debian-64-bits/70119?source_topic_id=71074):
>
> Salut Activer le multi-arch pour utiliser wine en 32 bits.Dans une Xterm sous root dpkg --add-architecture i386 apt-get update Installer wine 32 bits apt-get install wine32:i386 apt-get install libfreetype6:i386 `apt-get install winetricks` Attention 25-08-2017 il faut la version winetricks 0.0+20170327-1 pour que les 4 commandes ci-dessous fonctionnent Après on va utiliser winetricks pour installer les logiciels windows. Il est recommandé d'installer ces logiciels 1 par 1 et de s…

---

<div class="post-metadata">

**Author:** ![alainbrest1](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/76d3ee/32.png) [@alainbrest1](https://www.debian-fr.org/u/alainbrest1)\
**Post date:** [Septembre 25, 2016, 2:39 UTC](https://www.debian-fr.org/t/wine-et-mono/71074/3 "2016-09-25T14:39:20Z")

</div>

j’ai fait

`wine msiexec -i mono.msi`

puis `wine Captvty.exe`

resultat:

`alain-bellec@debian-alain:~/Téléchargements/captvty$ wine Captvty.exe  
err:ole:CoGetClassObject class {079aa557-4a18-424a-8eee-e39f0a8d41b9} not registered  
err:ole:CoGetClassObject no class object {079aa557-4a18-424a-8eee-e39f0a8d41b9} could be created for context 0x1

Unhandled Exception:  
System.InvalidOperationException: WinForms\_SeeInnerException —\> System.BadImageFormatException: Could not resolve field token 0x04000124  
File name: 'Captvty’  
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)  
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) \<0x1ff8d90 + 0x00033\> in :0  
— End of inner exception stack trace —  
at +.[T] (T ) \<0x2002ce8 + 0x00277\> in :0  
at +. () \<0x2002c90 + 0x0001b\> in :0  
at .OnCreateMainForm () \<0x2002c10 + 0x00017\> in :0  
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () \<0x2002b68 + 0x00029\> in :0  
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) \<0x2002b50 + 0x00010\> in :0  
at . (System.String[] ) \<0x1ff0f58 + 0x0002f\> in :0  
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms\_SeeInnerException —\> System.BadImageFormatException: Could not resolve field token 0x04000124  
File name: 'Captvty’  
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)  
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) \<0x1ff8d90 + 0x00033\> in :0  
— End of inner exception stack trace —  
at ÔÇêÔÇÇ+.[T] (T ) \<0x2002ce8 + 0x00277\> in :0  
at ÔÇêÔÇÇ+. () \<0x2002c90 + 0x0001b\> in :0  
at ÔÇçÔÇÇ.OnCreateMainForm () \<0x2002c10 + 0x00017\> in :0  
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () \<0x2002b68 + 0x00029\> in :0  
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) \<0x2002b50 + 0x00010\> in :0  
at ÔÇçÔÇÇ. (System.String[] ) \<0x1ff0f58 + 0x0002f\> in :0  
alain-bellec@debian-alain:~/Téléchargements/captvty$  
`

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Septembre 25, 2016, 2:49 UTC](https://www.debian-fr.org/t/wine-et-mono/71074/4 "2016-09-25T14:49:08Z")

</div>

> [@](#):
>
> Faut pas utiliser mono mais installer dotnet40 dans wine Voir mon tuto ci-dessous [https://www.debian-fr.org/t/captvty-sous-wine-avec-debian-64-bits/70119](https://www.debian-fr.org/t/captvty-sous-wine-avec-debian-64-bits/70119)
