Problems with installation of .NET 3.5 and 4 in wine-1.5.10

Questions about Wine on Linux
Locked
dimaver
Level 2
Level 2
Posts: 13
Joined: Sun Aug 12, 2012 1:17 pm

Problems with installation of .NET 3.5 and 4 in wine-1.5.10

Post by dimaver »

Hello all.

I have the following setup:

1. Red Hat Enterprise Linux Server release 5.7 (Tikanga) - 64 bit
2. wine-1.5.10

First, I tried to install .NET framework 3.5 SP1 using the following instructions:

a) Install .NET 2.0 SP2 prerequisite : wine NetFx20SP2_x86.exe

I got the following error: "Unable to find a volume for file extraction. Please verify that you have proper permissions".

To overcome it, I did: wine NetFx20SP2_x86.exe /extract and manually chose where to extract the files to.
And after the extraction did: wine Setup.EXE.

Installation failed with exception from HRESULT = 0x80070424

b) Run the .NET 3.5 SP1 installer : wine dotnetfx35.exe

Got the same error as for .NET 2.0 SP2: "Unable to find a volume for file extraction. Please verify that you have proper permissions".

Then, I tried to install .NET framework 4 using: wine dotNetFx40_Full_x86_x64.exe.

Got the following error: "There is not enough disk space on your drive for the new files to be uncompressed and installed. Please run the application again after you have freed some space on your drive".

I have on the drive over 100GB free space, so I'm sure that space is not an issue.

Did anyone encounter similar problems?
Can it be related to 64-bit Linux? Maybe I should compile wine sources using win64 configuration?

By the way, I got exactly the same problems in wine-1.4.1, which I compiled from rpm packages.

Thanks in advance.

Dima.
Mateusz Stachowski
Level 3
Level 3
Posts: 71
Joined: Mon Apr 18, 2011 3:49 am

Re: Problems with installation of .NET 3.5 and 4 in wine-1.5

Post by Mateusz Stachowski »

I don't think that Wine can install properly .NET Frameworks by itself (especially version 4.0). You should use winetricks which has hacks for installation of .NET.

Code: Select all

wget http://winetricks.googlecode.com/svn/trunk/src/winetricks

sudo cp winetricks /usr/bin

env WINEPREFIX="/media/Dane/.wine-Unmechanical/" WINE=wine-git winetricks dotnet40
The first command will download the latest winetricks and the second one will copy it for system wide use. The last command will install .NET Framework 4 into the specified Wineprefix with specified Wine version.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Problems with installation of .NET 3.5 and 4 in wine-1.5

Post by vitamin »

Code: Select all

winetricks dotnet40
Is all you need. After downloading and "installing" winetricks on your path.
dimaver
Level 2
Level 2
Posts: 13
Joined: Sun Aug 12, 2012 1:17 pm

Re: Problems with installation of .NET 3.5 and 4 in wine-1.5

Post by dimaver »

Hi, guys.
Thank you for replies.

I tried using winetricks, as you offered. But I get the same errors as before.

Specifically, for winetricks dotnet40 I get the following error:
"There is not enough disk space on your drive for the new files to be uncompressed and installed.
Please run the application again after you have freed some space on your drive".

I found a log file inside C:/users/my_user/temp, called dd_dotNetFx40_Full_x86_x64_decompression_log.txt:
[8/14/2012, 13:19:26] === Logging started: 2012/08/14 13:19:26 ===
[8/14/2012, 13:19:26] Executable: Y:\dotnet40\dotNetFx40_Full_x86_x64.exe v4.0.30319.1
[8/14/2012, 13:19:26] --- logging level: standard ---
[8/14/2012, 13:19:26] Successfully bound to the ClusApi.dll
[8/14/2012, 13:19:26] Cluster drive map: ''
[8/14/2012, 13:19:26] Considering drive: 'C:\'...
[8/14/2012, 13:19:26] Drive 'C:\' is rejected because of the unknown or unsuitable drive type
[8/14/2012, 13:19:26] Considering drive: 'D:\'...
[8/14/2012, 13:19:26] Drive 'D:\' is rejected because of the unknown or unsuitable drive type
[8/14/2012, 13:19:26] Considering drive: 'Z:\'...
[8/14/2012, 13:19:26] Drive 'Z:\' is rejected because it can't be written to
[8/14/2012, 13:19:26] Error 0x80070070: Failed to find any drive to extract to
[8/14/2012, 13:19:26] Error 0x80070070: Failed to find the exract drive
[8/14/2012, 13:19:26] Error 0x80070070: Failed to select temporary directory for extraction
[8/14/2012, 13:19:26] Error 0x80070070: Failed to select the directory to extract to
[8/14/2012, 13:19:26] Error 0x80070070: Failed to select and/or prepare the directory for extraction
[8/14/2012, 13:19:29] Exiting with result code: 0x80070070
[8/14/2012, 13:19:29] === Logging stopped: 2012/08/14 13:19:29 ===
Regarding disk Z:\ I understand the rejection. It's because it points to \ where I have no write permissions.

But regarding disks C:\ and D:\ I don't understand why they are rejected.
Disk C:\ is inside .wine, created by winecfg.
Disk D:\ is a mapping to a folder where I have all the permissions.

Do you have any idea?

Thank you.

Dima.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Problems with installation of .NET 3.5 and 4 in wine-1.5

Post by vitamin »

dimaver wrote:"There is not enough disk space on your drive for the new files to be uncompressed and installed.
Please run the application again after you have freed some space on your drive".
Post output of 'df -h' command.
dimaver
Level 2
Level 2
Posts: 13
Joined: Sun Aug 12, 2012 1:17 pm

Re: Problems with installation of .NET 3.5 and 4 in wine-1.5

Post by dimaver »

Hi.

I use WINEPREFIX=/temp70/users/my_user/.wine.

df output for /temp70 is:

Filesystem 1K-blocks Used Available Use% Mounted on
/temp70 917G 757G 114G 87% /misc/temp70
Locked