Wine 1.6 64-bit and .NET 4 installation

Questions about Wine on Linux
Locked
Anna's Taqueria 5
Newbie
Newbie
Posts: 1
Joined: Sun Aug 04, 2013 3:36 pm

Wine 1.6 64-bit and .NET 4 installation

Post by Anna's Taqueria 5 »

Greetings!

I am aware that this post is an extremely long shot, but I just had to try something and start somewhere, so here we go:

Working in the Food Service Industry as a Multi-Unit Restaurant General Manager and Food Safety Specialist in the Boston Area, I make use of an electronic data logging thermometer called Saf-T-Log, manufactured by Thermoworks (thermoworks.com). This particular device requires requires a Windows software supplied by Thermoworks in order for data collected and stored in the unit to be downloaded to a computer, as well as for creating and maintaining lists of the items that are routinely temped using the Saf-T-Log thermometer.

I now need to make this Windows software run in a Linux computer (Ubuntu 12.04 running on a Intel® Celeron(R) CPU 847 @ 1.10GHz × 2 64-bit). My first attempt was to use Wine 1.6 to try and make the software install and run, but all my attempts were unsuccessful thus far.

The Thermoworks installer program, before installing the Saf-T-Log software, attempts to install the Microsoft .NET Framework 4 and an update for it, and that's when Wine returns the following error message:

___

Component Microsoft .NET Framework 4 (x86 and x64) and Update for .NET Framework 4 (KB2468871) has failed to install with the following error message:
"A failuree occurred attempting to install the .NET Framework 4."

The following components failed to install:
- Microsoft .NET Framework 4 (x86 and x64) and Update for .NET Framework 4 (KB2468871)

See the setup log file located at 'C:\users\user\Temp\VSDacf7.tmp\install.log' for more information.
___


On the other hand, when I try to install .NET Framework 4.0 myself, the installer returns an error message saying that .NET Framework 4 or higher is already installed.

I know it is more a Wine problem than an Ubuntu problem, but I have also posted the same issue on the WineHQ forum, so I just posting it over here also in order to improve my chances of someone that can help seeing the post.

Thank you much!

Caesar Grubel

PS: Below are the contents of the install.log file mentioned in the error message above:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.2.0 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'Microsoft .NET Framework 4 (x86 and x64) and Update for .NET Framework 4 (KB2468871)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read string value '4.0.30319'
Setting value '4.0.30319 {string}' for property 'DotNet40Full_TargetVersion'
Reading value 'ThisVersionInstalled' of registry key 'HKLM\Software\Microsoft\Updates\Microsoft .NET Framework 4 Extended\KB2468871'
Unable to read registry value
Not setting value for property 'KB2468871Full_Installed'
The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64) and Update for .NET Framework 4 (KB2468871)':
Property: [DotNet40Full_TargetVersion] = 4.0.30319 {string}
Running checks for command 'DotNetFX40KB2468871\dotNetFx40_Full_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40KB2468871\dotNetFx40_Full_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40KB2468871\dotNetFx40_Full_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Full_TargetVersion' and value '4.0.30129': true
Result of checks for command 'DotNetFX40KB2468871\dotNetFx40_Full_setup.exe' is 'Bypass'
Running checks for command 'DotNetFX40KB2468871\NDP40-KB2468871-v2-x86.exe'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
Result of checks for command 'DotNetFX40KB2468871\NDP40-KB2468871-v2-x86.exe' is 'Bypass'
Running checks for command 'DotNetFX40KB2468871\NDP40-KB2468871-v2-x64.exe'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': false
Skipping ByPassIf because Property 'KB2468871Full_Installed' was not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
Result of checks for command 'DotNetFX40KB2468871\NDP40-KB2468871-v2-x64.exe' is 'Install'
'Microsoft .NET Framework 4 (x86 and x64) and Update for .NET Framework 4 (KB2468871)' RunCheck result: Install Needed
EULA for components 'Microsoft .NET Framework 4 (x86 and x64) and Update for .NET Framework 4 (KB2468871)' was accepted.
Copying files to temporary directory "C:\users\user\Temp\VSDacf7.tmp\"
Downloading files to "C:\users\user\Temp\VSDacf7.tmp\"
(8/4/2013 4:44:52 PM) Downloading 'DotNetFX40KB2468871\NDP40-KB2468871-v2-x64.exe' from 'http://go.microsoft.com/fwlink/?linkid=220287' to 'C:\users\user\Temp\VSDacf7.tmp\'
Download completed at 8/4/2013 4:44:58 PM
Verifying file integrity of C:\users\user\Temp\VSDacf7.tmp\DotNetFX40KB2468871\NDP40-KB2468871-v2-x64.exe
WinVerifyTrust returned 0
File trusted
Running checks for package 'Microsoft .NET Framework 4 (x86 and x64) and Update for .NET Framework 4 (KB2468871)', phase BeforePackage
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read string value '4.0.30319'
___
END.
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 1.6 64-bit and .NET 4 installation

Post by dimesio »

First: don't hijack threads. I have split this from the thread you posted in because the problem you describe is not related.

Regarding your problem, .NET 4.0 doesn't install without workarounds, and even then it doesn't install completely, so if your app truly depends on it, it is not likely to work in Wine. If you want to try anyway, you need to create a 32 bit wineprefix, because 32 bit .NET can't be installed in a 64 bit wineprefix in Wine. Create the wineprefix with

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
(use the actual path to the wineprefix), then install .NET to that wineprefix using winetricks.

http://wiki.winehq.org/FAQ#wineprefix
http://wiki.winehq.org/winetricks
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Wine 1.6 64-bit and .NET 4 installation

Post by DanKegel »

Yeah, 'winetricks dotnet40' is how to install .net, once you have a 32 bit wineprefix.

Is it THERMADATA™ LOGGER SOFTWARE Version: 3.4.16 from
http://www.thermoworks.com/software/
?

Also, which hardware do you have? I assume it's the MkII with the usb cradle one?

Chances are somewhat slim, since Wine doesn't support many Windows drivers, but maybe you'll get lucky.
Locked