Bug 12253

Summary: wine do not find mono
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Anssi Hannula <anssi.hannula>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: doktor5000, mageia, pterjan, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: wine-mono-0.0.8-5.mga4, wine-1.6.1-2.mga4 CVE:
Status comment:

Description Morgan Leijström 2014-01-09 03:04:25 CET
I see from log that wine say i should use windows mono for .NET applications.
But i do have mageia package wine-mono installed.

I see wine-mono contain â/usr/share/wine/mono/wine-mono-0.0.8.msi but probably it need be installed in wine.
wine refuse to run that .msi saying it is not an exe.

Well I am not a wine expert, but on http://wiki.winehq.org/Mono i read:


As of 1.3.7, Wine will search for a Windows install of Mono in the following locations:

    c:\windows\mono\mono-1.0 or mono-2.0

    If Wine is installed, <prefix>/share/wine/mono/mono-1.0 or mono-2.0, where <prefix> is usually /usr or /usr/local.
    If Wine is run from a build tree, wine/../mono/mono-1.0 or mono-2.0
    The path specified in the registry, if Mono was installed via the official Windows installer. 

The Wine Mono package installs its files in c:\windows\mono\mono-2.0. In modern Wine (>= 1.5.6), without Wine Mono installed it will appear to Windows applications that .NET is not installed, so the only real option is to use that package. 


Reproducible: 

Steps to Reproduce:
Thierry Vignaud 2014-01-09 11:48:43 CET

CC: (none) => pterjan, thierry.vignaud

Manuel Hiebel 2014-01-20 23:58:01 CET

Keywords: (none) => Triaged
CC: (none) => mageia
Assignee: bugsquad => anssi.hannula

Comment 1 Morgan Leijström 2015-09-23 23:54:05 CEST
still valid mga5_64;

Trying to install dotnet using winetricks in Q4wine, in the terminal it creates that executes download and installation i see

Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Rémi Verschelde 2015-09-24 07:50:41 CEST

Whiteboard: (none) => MGA5TOO

Comment 2 Florian Hubold 2016-04-23 17:20:14 CEST
What is your actual problem, and how did you create your wineprefix, what is the command you run to install dotnet and which version? Installing .NET 4.0 works fine here (among other versions)

$ winetricks dlls dotnet40
Executing w_do_call dotnet40
dotnet40 already installed, skipping

Keywords: Triaged => (none)
Status: NEW => UNCONFIRMED
CC: (none) => doktor5000
Ever confirmed: 1 => 0

Comment 3 Morgan Leijström 2016-04-23 19:36:11 CEST
Thanks for looking into it.
Sorry i do not remember details anymore...
Think i used q4wine (from mageia repo) but do not remember if i tried commmand line directly.
Uninstalled all wine since, and only use two old laptops running XP/W7 natively for windows programs nowadays...

Marking as worksforme as it works for you ;)

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => WORKSFORME