Wine et mono

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

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$

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

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$
`