Can't install dotnet20 in wine

Questions about Wine on Linux
Locked
psfal
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:27 pm

Can't install dotnet20 in wine

Post by psfal »

I can't get dotnet20 to install in my Wine, I need it to run a Windows app for work. It says it is not compatible with a 64bit system. I've tried all kinds of things suggested in forums and get nothing but error messages. Is there a simple way to make Wine allow dotnet20 to install?
User avatar
core
Level 3
Level 3
Posts: 84
Joined: Tue Oct 23, 2012 6:22 am

Re: Can't install dotnet20 in wine

Post by core »

Give a terminal output code and Wine version.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install dotnet20 in wine

Post by dimesio »

Install to a 32 bit wineprefix. Create one with

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
(use the actual path), then install to that. http://wiki.winehq.org/FAQ#wineprefix
psfal
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:27 pm

Re: Can't install dotnet20 in wine

Post by psfal »

Terminal output from what input? This is a new Ubuntu 12.04 install, the wikis screwed my system up and I couldn't recover it, so I had to re-install. I haven't installed wine on this installation yet (except for installing a Netflix desktop). I need a simple install, I need dotnet 2.0 and 3.5 sp1 to run my work apps and do away with this VM I'm using now. I'm sure I'm not the only one who needs dotnet dependencies satisfied.

I find it incredible that I can install a Netflix desktop with what Wine it needs, with only two lines and it's done. But I can't get something as simple as a couple of dotnet dependencies satisfied to handle running a company windows app.

I'm not a nuts & bolts Linux hacker, I don't do well at the command line. So please, keep it simple.

Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install dotnet20 in wine

Post by dimesio »

What part of my instructions are you having trouble with?
psfal
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:27 pm

Re: Can't install dotnet20 in wine

Post by psfal »

Your wiki assumes a command line mastery, which I've already indicated I do not have. I've already had to re-install Linux 2 times because I followed wiki instructions and couldn't fix what they destroyed, and I have no idea what the path is to wineprefix
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install dotnet20 in wine

Post by dimesio »

If you can read and type, you can use the command line.

The path to the wineprefix is the full path to wherever you want to install the fake c: drive. Usually that's in your home directory, though it doesn't have to be. Let's say it is, your home directory is /home/psfal, and you want to name the wineprefix wine32. Then to create the 32 bit wineprefix just open a terminal and type

Code: Select all

WINEARCH=win32 WINEPREFIX=/home/psfal/wine32 winecfg
and hit enter.

To install dotnet20 to that wineprefix after it's created, type

Code: Select all

WINEPREFIX=/home/psfal/wine32 sh winetricks dotnet20
and hit enter.
psfal
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:27 pm

Re: Can't install dotnet20 in wine

Post by psfal »

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:storage:create_storagefile Storage share mode not implemented.
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
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x163e8d0, overlapped 0x163e8dc): stub
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install dotnet20 in wine

Post by dimesio »

That's normal output from creating a wineprefix.
psfal
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:27 pm

Re: Can't install dotnet20 in wine

Post by psfal »

the only return after that is "sh: 0: Can't open winetricks"

Don't worry about it, thanks for your help. Dotnet dependencies should have been one of the first things designed into Wine, it's pretty much useless without them. I'll stick with my VM until the developers get it figured out. I've tried 4-5 different wikis, re-installed Linux twice, and probably have to do it again. It's just not worth it...

Thanks again, have a great day :-)
Locked