Uninstalling mono

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Colecf
Level 1
Level 1
Posts: 5
Joined: Mon Oct 24, 2011 10:39 pm

Uninstalling mono

Post by Colecf »

I'm trying to run my first application through wine, and it requires the .NET framework. So I did "winetricks mono28". After installing that, I still got "wine: Install the Windows version of Mono to run .NET executables". So I played with moving the mono folder around in ~/.wine/drive_C/Program files. (I saw on one of the winehw.org pages that it needed to be in .wine/drive_C/mono, and I had installed it to the default .wine/drive_C/program files/mono before.)

After playing with it unsuccessfully for a while, I tried deleting the mono folder to re-install it. But now when I do "winetricks mono28" I get "Mono seems to be installed. Please uninstall it and run this setup again".

I tried a script I found on the internet for removing a Mac OS installation of mono (I'm on a mac), but that didn't help...

How do I uninstall mono? And why did installing it not fix my wine error?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Uninstalling mono

Post by dimesio »

Colecf wrote: How do I uninstall mono? And why did installing it not fix my wine error?
Delete the wineprefix and start over. Mono doesn't work very well; I usually just intall real .NET.
Colecf
Level 1
Level 1
Posts: 5
Joined: Mon Oct 24, 2011 10:39 pm

Re: Uninstalling mono

Post by Colecf »

dimesio wrote:Delete the wineprefix and start over. Mono doesn't work very well; I usually just intall real .NET.
Well, I deleted ~/.wine, let it generate a new one, then downloaded .NET from here, but when I ran it, I got "The program Setup.exe has encountered a serious problem and needs to close."

Am I using the wrong "real" .NET?

Here's the errors I got in the console.
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Uninstalling mono

Post by dimesio »

Colecf wrote: Well, I deleted ~/.wine, let it generate a new one, then downloaded .NET from here, but when I ran it, I got "The program Setup.exe has encountered a serious problem and needs to close."
Use winetricks to install .NET, and make sure it's a completely clean wineprefix.
Colecf
Level 1
Level 1
Posts: 5
Joined: Mon Oct 24, 2011 10:39 pm

Re: Uninstalling mono

Post by Colecf »

dimesio wrote:Use winetricks to install .NET, and make sure it's a completely clean wineprefix.
Ok, so I used "winetricks dotnet30" and that installed. There was a little bug in it though, where at the very end, the console told me that it was successfully installed, but the window didn't update, and I had to Cntrl^C it.

Unfortunately, upon running my app, it says it wants .NET 4.0.something. I tried "winetricks 40" but it doesn't seem to have it.

How do I get the latest version?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Uninstalling mono

Post by dimesio »

Colecf wrote:
dimesio wrote:Use winetricks to install .NET, and make sure it's a completely clean wineprefix.
Ok, so I used "winetricks dotnet30" and that installed. There was a little bug in it though, where at the very end, the console told me that it was successfully installed, but the window didn't update, and I had to Cntrl^C it.

Unfortunately, upon running my app, it says it wants .NET 4.0.something. I tried "winetricks 40" but it doesn't seem to have it.

How do I get the latest version?
.NET 4.0 doesn't install.
http://bugs.winehq.org/show_bug.cgi?id=25535
http://appdb.winehq.org/objectManager.p ... &iId=17886
Locked