Install the Windows version of Mono to run .NET problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
easyw
Newbie
Newbie
Posts: 3
Joined: Thu Jan 05, 2012 5:41 pm

Install the Windows version of Mono to run .NET problem

Post by easyw »

Hi to all,
I'm trying to run a windows app that needs mono under wine 1.2
I installed mono through winetricks with
'winetricks mono210'
but when I try to run the app with
'wine appname'
I obtain
'wine: Install the Windows version of Mono to run .NET executables'
and if I run 'wine uninstaller' I can see mono on app installed....
I tried also to clean .wine dir deleting it and reiterating the procedure without succeed... also with mono28 same result

thank you
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Install the Windows version of Mono to run .NET problem

Post by dimesio »

easyw wrote:Hi to all,
I'm trying to run a windows app that needs mono under wine 1.2
I installed mono through winetricks with
'winetricks mono210'
but when I try to run the app with
'wine appname'
I obtain
'wine: Install the Windows version of Mono to run .NET executables'
and if I run 'wine uninstaller' I can see mono on app installed....
I tried also to clean .wine dir deleting it and reiterating the procedure without succeed... also with mono28 same result
Your Wine version is old; upgrade to the latest development release.

I've never had Mono work for anything; try installing real .NET. (You will need a clean wineprefix.)
easyw
Newbie
Newbie
Posts: 3
Joined: Thu Jan 05, 2012 5:41 pm

Post by easyw »

with the develop version I get a lot of fixme..
revert to stable version..
cleaned .wine dirs
re-tryied mono210 with winetricks ... not working...

i tried once in mac with wine and mono 28 and it worked ... but I cannot replicate it on ubuntu and on another mac
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

easyw wrote:with the develop version I get a lot of fixme..
revert to stable version.
Did you even try installing .NET in it before you reverted?
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Install the Windows version of Mono to run .NET problem

Post by jjmckenzie »

On Thu, Jan 5, 2012 at 4:20 PM, easyw <[email protected]> wrote:
with the develop version I get a lot of fixme..
revert to stable version..
cleaned .wine dirs
re-tryied mono210 with winetricks ... not working...

i tried once in mac with wine and mono 28 and it worked ... but I cannot replicate it on ubuntu and on another mac
One: You did not follow dimesio's instructions.
Two: Install wine-devel. wine-stable or wine is very old (over one year now).
Three: Try mono28. When I tried to use mono210 there were issues
that I could not overcome.

All of the above should be done with a new Wine 'prefix' which is
located in $HOME/.wine.

James
easyw
Newbie
Newbie
Posts: 3
Joined: Thu Jan 05, 2012 5:41 pm

Post by easyw »

the installation works fine, but mono28 runs only if I manually add the path to the windows register HKEY_CURRENT_USER Environment
or if I run set path=%path%;"c:\Program Files\Mono-2.8.2\bin\"
in this way a program that needs mono runs correctly but only through the command:
mono program_name.exe (under wine)
if I launch the program directly under wine I obtain the error message
'wine: Install the Windows version of Mono to run .NET executables'
it seems that something is missing on environment during the installation...
(tried with wine stable and wine dev in a clean wineprefix)
1) any suggestion?
2) in which way can I install .net?
I tried to download and install
Microsoft .NET Framework 2.0 Redistributable Package (x86)
but the installer doesn't complete the installation...
thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

easyw wrote: 2) in which way can I install .net?
Use winetricks, and install it to a clean wineprefix. .NET will not install to a wineprefix with mono installed.
shlaer
Newbie
Newbie
Posts: 1
Joined: Mon Jan 14, 2013 2:43 pm

Re: Install the Windows version of Mono to run .NET problem

Post by shlaer »

I had a similar problem, first getting the "Install the Windows version..." and later also a
wine: cannot find L"C:\\windows\\system32\\plugplay.exe" error. I solved it by
first running a Dos window under wine (using the mac os X version wine.app)
and then running the windows program from the command line in dos.
joseppi
Newbie
Newbie
Posts: 1
Joined: Fri May 10, 2013 8:28 pm

Re: Install the Windows version of Mono to run .NET problem

Post by joseppi »

In response to the question: "which way can I install .net?"
dimesio replied: Use winetricks, and install it to a clean wineprefix.
.NET will not install to a wineprefix with mono installed.

How can I determine what version of .net to install?

When I started 'winetricks', it asked: "What do you want to do?"
I selected the option "Select the default wineprefix"
It then asked: "What would you like to do to this wineprefix?"
I selected: "Browse files"
It then listed four different versions of M$.NET/Framework:
v1 -- v2.0.50727 -- v3.0 -- v4.0.30319

Which version should I install?
The files are the same size in v2 and v4 and 'diff'
reports no differences.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Install the Windows version of Mono to run .NET problem

Post by dimesio »

Use the version your app requires.
Locked