LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   winetricks dotnet2.0 error (https://www.linuxquestions.org/questions/linux-newbie-8/winetricks-dotnet2-0-error-4175412176/)

Xplorer4x4 06-19-2012 12:43 AM

winetricks dotnet2.0 error
 
I am running (Kubuntu)Precise and need to install wintracks dotnet2.0 but run in to a problem about running a 64 bit system.

From konsole:
Quote:

winetricks dotnet20
Executing w_do_call dotnet11
Executing load_dotnet11
------------------------------------------------------
This package does not work on a 64-bit installation
------------------------------------------------------
xplorer4x4@xplorer4x4-MS-7673:~/iso2god_v1.3.6-360h$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20\set-winver.reg
Executing mkdir -p /home/xplorer4x4/.cache/winetricks/dotnet20
Executing unzip -o -q -d /home/xplorer4x4/.wine/dosdevices/c:/windows/syswow64 l_intl.zip
Executing mkdir -p /home/xplorer4x4/.cache/winetricks/dotnet20
Executing wine dotnetfx.exe
fixme:advapi:DecryptFileA "C:\\users\\xplorer4x4\\Temp\\IXP000.TMP\\" 00000000
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
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:advapi:LsaOpenPolicy ((null),0x33f31c,0x00000001,0x33f344) stub
fixme:advapi:LsaClose (0xcafe) stub
------------------------------------------------------
Note: command 'wine dotnetfx.exe' returned status 26. Aborting.
------------------------------------------------------
It launches the installer for dotnet2.0 but when I click next for the first time I get to the next screen and it says it failed to install since this is a 64 bit system. So I tried doing export WINEARCH=win32 but got a diffrent error when trying to run winetricks dotnet20 again but I got a diffrent error this time:
wine cmd.exe /c echo '%ProgramFiles%' returned empty string

How can I fix this? I initally tried all of this under the repository version, but tried again under the latest wine version avaliable in the PPA and the steps are reproducable evrytime. How can I fix this?

business_kid 06-20-2012 10:49 AM

64 bit libs and 32 bit libs are incompatible. Wine and most programs for it are still 32 bit. People are experimenting with a 64 bit wine, but don't go there.

So you need 32 bit libs. Have you got them? The installer can't find a whole string of them. It might be the i386-linux-gnusubdir is wrong

Xplorer4x4 06-20-2012 11:27 AM

Thanks for the reply, but I found a solution and forgot to edit the thread. It turns out I needed a clean winetricks profile(must delete folder,deleting contents isnt enough), export WINEARCH=win32, winetricks dotnet20, and I was good to go!

However I also need additional ,NET Frameworks(I know some are not as stable as dotnet2), but every time I do it tries to install dotnet20 instead of day dotnet30. Any ideas? Unless of course I missed something and .NET frameworks retain backwards compatibility. :p

business_kid 06-21-2012 04:24 AM

Glad you're going, and better add a second post if things improve, than edit. Many read from the email, so the edits get lost.

If you have dotnet2.0 and can't get dotnet3.0 installed, you may need some in between versions or some vcrun stuff. Try
Quote:

winetricks --help |less
and the '|less' is important, as you'll find out. If you can come out with a dll you need, then you're away, as you can find what crazy package that's in and go for it. A search of winehq.org is also a good way to go, as the mailing list archive is there.

reinier.strobos 02-08-2013 03:21 PM

Hey Xplorer4x4,

I am somewhat new to linux and was wondering how you clean winetricks profile(must delete folder,deleting contents isnt enough), export WINEARCH=win32, winetricks dotnet20?

Thanks

Xplorer4x4 02-08-2013 03:24 PM

Quote:

Originally Posted by reinier.strobos (Post 4887269)
Hey Xplorer4x4,

I am somewhat new to linux and was wondering how you clean winetricks profile(must delete folder,deleting contents isnt enough), export WINEARCH=win32, winetricks dotnet20?

Thanks

It has been awhile, but this partially depends on what flavor of linux you run, but the bottom line is you need to do this from the command line. try the export and wintricks commands one at a time.

I hope that helps!


All times are GMT -5. The time now is 01:54 PM.