http://bugs.winehq.org/show_bug.cgi?id=29666
Bug #: 29666 Summary: TurboTax 2011 fails to install Product: Wine Version: 1.3.37 Platform: x86 OS/Version: Linux Status: NEW Keywords: dotnet, Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com Classification: Unclassified
Tax time, so tried Turbo Tax 2011 under wine. Installer starts up, then says it's fixing file/registry permissions. It then attempts to install .NET 4 (so this is may be blocked by bug 25535).
Instead, I tried mono210, which has .Net 4.0 support:
$ rm -rf ~/.wine # It wants mfc42u.dll, and there are some vbscript fixme's followed by turbotax output about not finding the .net directory. $ winetricks -q mono210 vcrun6 wsh57 # attempt install $ wine setup.exe
fails, saying: ".NET 4.0 Framework verification failed. Please repair it from the Add/Remove Control Panel."
Potentially a mono bug, though looking at the terminal output, it's using NTFS security features, so the bug may be in wine..
Focht, feeling lucky? :)
http://bugs.winehq.org/show_bug.cgi?id=29666
--- Comment #1 from Austin English austinenglish@gmail.com 2012-01-20 15:45:15 CST --- Created attachment 38472 --> http://bugs.winehq.org/attachment.cgi?id=38472 terminal output
http://bugs.winehq.org/show_bug.cgi?id=29666
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net 2012-01-21 12:21:11 CST --- Hello Austin,
look into application logs folder:
"C:\users\Public\Application Data\Intuit\TurboTax\MSI\TY11\Logs"
"20120121_TTINSTALLER.log" "20120121_TurboTax 2011 Utility - 2011.0.0.29.log"
There are checks for specific files, assemblies and registry entries that Mono can't possibly provide.
--- snip --- 18:19:00:016 Detected operating system: Windows XP (x86) 18:19:00:018 Install state for .NET Framework 4 Client: installed with no service packs. 18:19:00:018 Install state for .NET Framework 4 Full: installed with no service packs. 18:19:00:019 Starting verification for product .NET Framework 4 Client 18:19:00:319 Section [Files - .NET Framework 4 Client (Common)] - start parsing entries 18:19:00:319 File C:\windows\system32\mscoree.dll is installed on the system 18:19:00:321 ****ERROR**** File C:\windows\system32\msvcr100_clr0400.dll is not installed on the system 18:19:00:322 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\clr.dll is not installed on the system 18:19:00:323 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll is not installed on the system ... 18:19:00:329 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll is not installed on the system 18:19:00:330 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll is not installed on the system 18:19:00:332 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\mscorrc.dll is not installed on the system 18:19:00:333 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config is not installed on the system 18:19:00:335 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationHost_v0400.dll is not installed on the system 18:19:00:337 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationNative_v0400.dll is not installed on the system 18:19:00:338 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationUI.dll is not installed on the system 18:19:00:340 ****ERROR**** File C:\windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll is not installed on the system 18:19:00:342 ****ERROR**** File C:\windows\Microsoft.NET\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll is not installed on the system 18:19:00:344 ****ERROR**** File C:\windows\Microsoft.NET\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll is not installed on the system ... 18:19:01:167 Section [Registry - .NET Framework 4 Client (Common)] - start parsing entries 18:19:01:169 ****ERROR**** Key: HKLM\SOFTWARE\Microsoft.NETFramework\policy\standards\v1.0.0 Value: v4.0.30319 Expected Data: 30319 Actual Data: NOT FOUND 18:19:01:171 ****ERROR**** Key: HKLM\SOFTWARE\Microsoft.NETFramework\policy\standards\Standard CLI 2002 Value: v4.0.30319 Expected Data: 4095 Actual Data: NOT FOUND 18:19:01:174 ****ERROR**** Key: HKLM\SOFTWARE\Microsoft.NETFramework\policy\standards\Standard CLI 2005 Value: v4.0.30319 Expected Data: 4095 Actual Data: NOT FOUND 18:19:01:176 ****ERROR**** Key: HKLM\SOFTWARE\Microsoft.NETFramework\policy\upgrades Value: 4.0.30319 Expected Data: 4.0.0-4.0.30319 Actual Data: NOT FOUND 18:19:01:178 ****ERROR**** Key: HKLM\SOFTWARE\Microsoft.NETFramework\policy\v4.0 Value: 30319 Expected Data: 30319-30319 Actual Data: NOT FOUND ... 18:19:03:851 ****ERROR**** Verification failed for product .NET Framework 4 Client 18:19:03:851 QM_VerifyAndRepairDotNetFramework(): .NET Framework 4.0 Client initial verification failed.
18:19:03:852 QM_VerifyAndRepairDotNetFramework(): Reparing .NET Framework 4.0 Client. --- snip ---
I don't see a point in pursuing this further.
You need a full .NET 4.0 Framework install and no "let's fake some stuff and get away with Mono". .NET 4.0 WINEPREFIX can be certainly done but it requires several steps/hacks.
Regards
http://bugs.winehq.org/show_bug.cgi?id=29666
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2012-01-21 13:46:29 CST --- I see no reason we couldn't provide all of those files.
http://bugs.winehq.org/show_bug.cgi?id=29666
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |25535 Summary|TurboTax 2011 fails to |TurboTax 2011 fails to |install |install (.NET 4.0 Framework | |verification fails)
--- Comment #4 from Anastasius Focht focht@gmx.net 2012-01-21 15:27:24 CST --- Hello Austin,
I added a recipe for .NET 4.0 installation in appdb. It's messy but allows the installer to pass all .NET 4.0 prerequisite checks and run that .NET 4.0 test app successfully.
The installer also needs 'winetricks gdiplus' or it will fail at later stage, before copying files:
--- snip --- 0032:Call KERNEL32.OutputDebugStringW(0127cfa4 L"Error Occurred: Thread Exception occurred: Value cannot be null.\r\nParameter name: brush\r\n\r\nStack trace: at System.Drawing.Graphics.FillPath(Brush brush, GraphicsPath path)\r\n at Intuit.Tax.Installers.Setup.GlassButton.DrawButtonBackground(Graphics g)\r\n at Intuit.Tax.Installers.Setup.G"...) ret=04408728 --- snip ---
During the installer's online update check another exception dialog is shown (firewall/hnetcfg) but that one is harmless and can be dismissed.
Overall, the installer finishes successfully.
Regards
http://bugs.winehq.org/show_bug.cgi?id=29666
--- Comment #5 from Anastasius Focht focht@gmx.net 2012-01-22 06:12:51 CST --- Hello,
an addendum regarding the installer media...
The TurboTax 2011 ISO seems to have been authored with a Mac (DiscRecording 4.0.7d1) - it's a hybrid ISO9660/JOLIET/HFS filesystem with optional Rock Ridge attributes.
Mounting it using standard "-t iso9660 -o loop,ro ... " will lead to subtle installer failure later.
--- snip --- $ ls -la /mnt/iso/prerequisites/ total 47603 dr-xr-xr-x. 1 root root 2048 Nov 2 02:13 . dr-xr-xr-x. 1 root root 2048 Nov 2 02:13 .. -rw-r--r--. 1 502 games 43000680 Nov 2 02:13 dotnetfx40_setup.exe -rw-r--r--. 1 502 games 135 Nov 2 02:13 netfx40testapplicatione.config -rw-r--r--. 1 502 games 20480 Nov 2 02:13 netfx40testapplication.exe -rw-r--r--. 1 502 games 268800 Nov 2 02:13 netfx_setupverifier.exe -rw-r--r--. 1 502 games 40237 Nov 2 02:13 setupverifier.ini -rw-r--r--. 1 502 games 5409088 Nov 2 02:13 turbotaxutility.exe -rw-r--r--. 1 502 games 10 Nov 2 02:13 wnet40full.key -rw-r--r--. 1 502 games 11 Nov 2 02:13 wprereq.key --- snip ---
"netfx40testapplicatione.config" -> breaks .NET 4.0 test!
You have to mount it using "norock":
--- snip --- $ sudo mount -t iso9660 -o loop,ro,norock foo.iso /mnt/bar --- snip ---
--- snip --- $ ls -la /mnt/iso/prerequisites/ total 47603 dr-xr-xr-x. 1 root root 2048 Nov 2 02:13 . dr-xr-xr-x. 1 root root 2048 Nov 2 02:13 .. -r-xr-xr-x. 1 root root 43000680 Nov 2 02:13 dotNetFx40_setup.exe -r-xr-xr-x. 1 root root 20480 Nov 2 02:13 Netfx40TestApplication.exe -r-xr-xr-x. 1 root root 135 Nov 2 02:13 Netfx40TestApplication.exe.config -r-xr-xr-x. 1 root root 268800 Nov 2 02:13 netfx_setupverifier.exe -r-xr-xr-x. 1 root root 40237 Nov 2 02:13 setupverifier.ini -r-xr-xr-x. 1 root root 5409088 Nov 2 02:13 TurboTaxUtility.exe -r-xr-xr-x. 1 root root 10 Nov 2 02:13 wnet40full.key -r-xr-xr-x. 1 root root 11 Nov 2 02:13 wprereq.key --- snip ---
The installer executes "Netfx40TestApplication.exe" to verify if .NET 4.0 install is usable. The app needs "Netfx40TestApplication.exe.config" to know which .NET runtime to select/run on:
--- snip --- <?xml version ="1.0"?> <configuration> <startup> <requiredRuntime version="v4.0.30319" /> </startup> </configuration> --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=29666
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |27991
--- Comment #6 from Anastasius Focht focht@gmx.net 2012-01-22 12:32:06 CST --- Hello,
the installer also suffers from bug 27991 later (doesn't crash every time).
--- snip --- Unhandled Exception: System.TypeInitializationException: The type initializer for 'Intuit.Tax.Installers.Setup.ApplicationUtils' threw an exception. ---> System.ArgumentOutOfRangeException: The number of bytes cannot exceed the virtual address space on a 32 bit machine. Parameter name: numBytes at System.Runtime.InteropServices.SafeBuffer.Initialize(UInt64 numBytes) at System.Security.Principal.Win32.InitializeReferencedDomainsPointer(SafeLsaMemoryHandle referencedDomains) at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) at System.Security.Principal.SecurityIdentifier.Translate(Type targetType) at System.Security.Principal.WindowsIdentity.GetName() at System.Security.Principal.WindowsIdentity.get_Name() at Intuit.Tax.Installers.Setup.ApplicationUtils..cctor() --- End of inner exception stack trace --- at Intuit.Tax.Installers.Setup.ApplicationUtils.isCommandLineMode() at Intuit.Tax.Installers.Setup.ApplicationShell.OnAppDomainException(Object sender, UnhandledExceptionEventArgs eventArgs) --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=29666
--- Comment #7 from Austin English austinenglish@gmail.com 2012-01-22 16:46:17 CST --- Yep, the mounting option helped. Now just need bug 27991 fixed..
Thanks for the analysis Focht! :)
http://bugs.winehq.org/show_bug.cgi?id=29666
Bug 29666 depends on bug 25535, which changed state.
Bug 25535 Summary: .NET Framework 4.0 Fails to install with HRESULT 0x80070643 http://bugs.winehq.org/show_bug.cgi?id=25535
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=29666
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com 2012-06-12 20:22:02 CDT --- Works now (if using real .net instead of mono).
http://bugs.winehq.org/show_bug.cgi?id=29666
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2012-06-22 13:30:44 CDT --- Closing bugs fixed in 1.5.7.
http://bugs.winehq.org/show_bug.cgi?id=29666
Bug 29666 depends on bug 27991, which changed state.
Bug 27991 Summary: LsaLookupNames2 separate allocations break .NET 4.0 System.Security subsystem and leak returned buffer data http://bugs.winehq.org/show_bug.cgi?id=27991
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED