http://bugs.winehq.org/show_bug.cgi?id=15796
Summary: Americas Army Deploy Client does not install Product: Wine Version: 1.1.6 Platform: PC URL: http://files.filefront.com/Americas+Army+Deploy+Client+v 123+Installer/;12072120;/fileinfo.html OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mscoree AssignedTo: wine-bugs@winehq.org ReportedBy: ead1234@hotmail.com
Created an attachment (id=16915) --> (http://bugs.winehq.org/attachment.cgi?id=16915) console output
America's Army Deploy Client installer fails. Wine states to use mono for .NET support. After installing MONO for windows and then running the installer wine crashes due to an unimplimented function mscoree.dll.ClrCreateManagedInstance and then msi returns an error of err:msi:custom_get_thread_return Invalid Return Code and the installer states there was an error before installation completed.
http://bugs.winehq.org/show_bug.cgi?id=15796
EA Durbin ead1234@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Version|1.1.6 |1.1.7
http://bugs.winehq.org/show_bug.cgi?id=15796
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
--- Comment #1 from Jaime Rave jaimerave@gmail.com 2008-12-19 15:51:04 --- Still a problem in Wine 1.1.10
http://bugs.winehq.org/show_bug.cgi?id=15796
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2009-03-27 03:30:48 --- Still an issue with today's Git (wine-1.1.17-223-g9e82e50). Installing the .NET Framework 2.0 instead of the Mono runtime works around the crash and allows the client to be tested.
http://bugs.winehq.org/show_bug.cgi?id=15796
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://files.filefront.com/ |http://www.filefront.com/12 |Americas+Army+Deploy+Client |340819/Americas-Army-Deploy |+v123+Installer/;12072120;/ |-Client-v1.2.4-Installer/ |fileinfo.html |
http://bugs.winehq.org/show_bug.cgi?id=15796
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2010-08-03 12:21:53 --- ClrCreateManagedInstance is stubbed, and now I'm getting this message:
fixme:mscoree:ClrCreateManagedInstance (L"System.Configuration.Install.ManagedInstallerClass,System.Configuration.Install,version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",{1e233fe7-c16d-4512-8c3b-2e9988f08d38},0x66e6d4)
I don't know what this iid is, and that type is missing from Mono.
http://bugs.winehq.org/show_bug.cgi?id=15796
--- Comment #4 from Vincent Povirk madewokherd@gmail.com 2010-08-03 12:28:01 --- Actually, the type is in Mono. I thought I searched for this before, but apparently not.
The IID is IManagedInstaller, also declared in Mono. So we just need to create an instance of this thing, and Mono should provide the COM interface we need. Also implement it, since it's just a stub.
http://bugs.winehq.org/show_bug.cgi?id=15796
--- Comment #5 from Vincent Povirk madewokherd@gmail.com 2010-08-03 13:39:22 --- Had a conversation on #monodev about how to implement this, and I'm taking notes here so I don't forget.
The string from the application can apparently be parsed using the mono_reflection_parse_type function. This gives a MonoAssemblyName, a namespace, and a type name. An AppDomain is also required; probably a "default" AppDomain should be created/stored for the process. The AppDomain and MonoAssemblyName can be converted to a MonoAssembly using mono_assembly_loaded or mono_domain_assembly_open. From there, it's easy use of example code from http://www.mono-project.com/Embedding_Mono#Creating_objects
Once the object is created, I have to query it for a COM interface, and I have no idea how to do that.
http://bugs.winehq.org/show_bug.cgi?id=15796
--- Comment #6 from Vincent Povirk madewokherd@gmail.com 2010-08-30 13:58:59 CDT --- I've sent a patch series for this:
http://www.winehq.org/pipermail/wine-patches/2010-August/092775.html
Of course, now we run into the fact that the requested class is unimplemented:
[0000002C: 0.00363 2] ENTER: System.Configuration.Install.ManagedInstallerClass:System.Configuration.Install.IManagedInstaller.ManagedInstall (string,int)(this:00D2BFF8[System.Configuration.Install.ManagedInstallerClass default], [STRING:00D2FDB0:/installtype=notransaction /action=install /LogFile= /sourceDir="C:\users\meh\Temp\RarSFX0\" /installDir="C:\Program Files\America's Army Deploy Client\" /productName="America's Army Deploy Client" /installAllUsers= "C:\Program Files\America's Army Deploy Client\inst.exe" ], 2, ) [0000002C:] EXCEPTION handling: NotImplementedException
http://bugs.winehq.org/show_bug.cgi?id=15796
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #7 from Jerome Leclanche adys.wh@gmail.com 2011-02-09 22:07:19 CST --- Status on this bug?
http://bugs.winehq.org/show_bug.cgi?id=15796
--- Comment #8 from Vincent Povirk madewokherd@gmail.com 2011-03-28 12:55:10 CDT --- The status is we need an implementation of System.Configuration.Install (including IManagedInstaller) in Mono before this will work.
http://bugs.winehq.org/show_bug.cgi?id=15796
--- Comment #9 from Vincent Povirk madewokherd@gmail.com 2011-03-28 12:55:53 CDT --- Er, sorry, ManagedInstallerClass is the class that's being used. IManagedInstaller is the interface used to access it.
http://bugs.winehq.org/show_bug.cgi?id=15796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|Americas Army Deploy Client |America's Army Deploy |does not install |Client v1.2.4 installer | |fails with Mono Ever Confirmed|0 |1
--- Comment #10 from Anastasius Focht focht@gmx.net 2012-05-01 08:26:19 CDT --- Hello,
obviously still present, refining summary to explicitly state it's a problem with Mono ('winetricks -q dotnet20' works).
$ wine --version wine-1.5.3-40-g9080f3c
Regards
https://bugs.winehq.org/show_bug.cgi?id=15796
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.filefront.com/12 |http://www.gamefront.com/fi |340819/Americas-Army-Deploy |les/12340819/Americas-Army- |-Client-v1.2.4-Installer/ |Deploy-Client-v1.2.4-Instal | |ler/
--- Comment #11 from Austin English austinenglish@gmail.com --- With wine-1.7.23: fixme:mscoree:get_runtime_info unsupported startup flags 6
err:msi:custom_get_thread_return Invalid Return Code -5 err:msi:ITERATE_Actions Execution halted, action L"_BF8DBCF9_337D_45E9_8162_6EC011F80F91.install" returned 1603 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
https://bugs.winehq.org/show_bug.cgi?id=15796
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #12 from Teras teras@luukku.com --- At the end of the installer happens:
err:msi:ACTION_CallDllFunction Custom action (L"C:\users\sepe susi\Temp\msi41ec.tmp":L"ManagedInstall") caused a page fault: c0000005
wine 1.7.38
https://bugs.winehq.org/show_bug.cgi?id=15796
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #13 from super_man@post.com --- Download link misleading. Is this client still available?
https://bugs.winehq.org/show_bug.cgi?id=15796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|America's Army Deploy |America's Army Deploy |Client v1.2.4 installer |Client v1.2.4 (.NET 2.0) |fails with Mono |installer fails with | |Wine-Mono Status|NEW |NEEDINFO URL|http://www.gamefront.com/fi |https://gamefront.online/fi |les/12340819/Americas-Army- |les/12340819/AADeployClient |Deploy-Client-v1.2.4-Instal |Installer.exe |ler/ |
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
updating download link.
Overview: https://gamefront.online/files/listing/pub2/americas-army-2-special-forces/O...
The installer works with 'winetricks -q dotnet20'. The client app itself likely not useful anymore due to abandoned/defunct servers/URLs.
Please retest with recent Wine+Wine-Mono (I have it disabled at build-time).
$ sha1sum AADeployClientInstaller.exe 11e77427cb19cc05491aada7e40a17d983edeadb AADeployClientInstaller.exe
$ du -sh AADeployClientInstaller.exe 9.1M AADeployClientInstaller.exe
$ wine --version wine-3.5
Regards
https://bugs.winehq.org/show_bug.cgi?id=15796
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=15796
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #15 from joaopa jeremielapuree@yahoo.fr --- I manage to install the client in a fresh wine prefix with wine-5.5
Can an administrator close this bug as FIXED?
https://bugs.winehq.org/show_bug.cgi?id=15796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://gamefront.online/fi |https://web.archive.org/web |les/12340819/AADeployClient |/20200401220538/https://fil |Installer.exe |es.downloadnow.com/s/softwa | |re/11/02/80/68/AADeployClie | |ntInstaller.exe?token=15858 | |14617_f62138c885d6ad78d2a36 | |b2772f14d85&fileName=AADepl | |oyClientInstaller.exe Status|NEEDINFO |NEW Summary|America's Army Deploy |America's Army Deploy |Client v1.2.4 (.NET 2.0) |Client v1.2.x (.NET 2.0) |installer fails with |installer fails with |Wine-Mono |Wine-Mono
--- Comment #16 from Anastasius Focht focht@gmx.net --- Hello folks,
I've created a snapshot via Internet Archive:
https://web.archive.org/web/20200401220538/https://files.downloadnow.com/s/s...
@ joaopa
--- quote --- I manage to install the client in a fresh wine prefix with wine-5.5
Can an administrator close this bug as FIXED? --- quote ---
Although the installer claims success it seems questionable. One of the last messages in console (like comment #12):
--- snip --- 0090:err:msi:__wine_msi_call_dll_function Custom action (L"C:\users\focht\Temp\msi1743.tmp":"ManagedInstall") caused a page fault: c0000005 --- snip ---
The client itself doesn't start which could be another indication of a broken/partial installation or a follow-up problem.
I've encountered several bugs in the past where installers claimed success but it was just a lie. So be sceptical of everything. Challenge things - including yourself ;-)
In this case one could approach the problem at different levels.
If a broken/partial installation is suspected, a simple approach would be to compare the content of both WINEPREFIXes (Wine-Mono vs. MS .NET) after installation. It doesn't require much knowledge, except maybe knowing which non-overlapping components of each .NET Framework to exclude from comparison. There could be missing files in app/game client folder and/or missing assemblies in GAC, missing registry entries etc.
A more elaborate approach would be to create WINEDEBUG=+seh,+relay,+msi installer trace logs with Wine-Mono and MS .NET each and check what that failing custom action is trying to do by looking at the succeeding one.
A more advanced level involves the analysis of Wine-Mono trace and decompilation of the installer .NET assemblies involved in the (managed) custom action.
$ sha1sum AADeployClientInstaller.exe 47dfb2e8d5575da3ee5dd5f3ba5b1621de705c8b AADeployClientInstaller.exe
$ du -sh AADeployClientInstaller.exe 9.1M AADeployClientInstaller.exe
$ wine --version wine-5.5-126-g5c0e699dba
Regards
https://bugs.winehq.org/show_bug.cgi?id=15796
--- Comment #17 from Esme madewokherd@gmail.com --- If you suspect a broken installation, I think the easiest way to check would be to run the installer, then install native .NET. If it works when native .NET is installed before the application, but not when it's installed after, the install is broken.
https://bugs.winehq.org/show_bug.cgi?id=15796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |46290
https://bugs.winehq.org/show_bug.cgi?id=15796
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|America's Army Deploy |Multiple .NET application |Client v1.2.x (.NET 2.0) |installers need Wine-Mono |installer fails with |'System.Configuration.Insta |Wine-Mono |ll.ManagedInstallerClass' | |implementation (America's | |Army Deploy Client v1.2.x, | |NinjaTrader 7)
--- Comment #18 from Anastasius Focht focht@gmx.net --- Hello folks,
I've encountered the same issue with the installer from bug 46290 ("NinjaTrader 7 crashes with Wine-Mono"). Refining the bug to serve as collector.
Copying the info from there...
https://bugs.winehq.org/show_bug.cgi?id=46290#c2
--- snip --- $ WINEDEBUG=+seh,+relay,+msi wine msiexec -i NinjaTrader.Install.msi >>log.txt 2>&1 ... 012c:trace:msi:ACTION_PerformAction Performing action (L"[/installtype=notransaction /action=install /LogFile= "C:\Program Files (x86)\NinjaTrader 7\bin\NinjaTrader.Installer.dll" "C:\users\focht\Temp\CFGd244.tmp"<=>S-1-5-21-0-0-0-1000<=>{9400B6FE-2573-4836-9074-14B4C283DD77}]_E151F635_F630_4281_BB7F_F27658F92BB2.install") ... 012c:trace:msi:ACTION_CustomAction Handling custom action L"_E151F635_F630_4281_BB7F_F27658F92BB2.install" (c01 L"InstallUtil" L"ManagedInstall") ... 012c:trace:msi:HANDLE_CustomType1 Calling function L"ManagedInstall" from L"C:\users\focht\Temp\msi33f0.tmp" ... 01ac:Call KERNEL32.LoadLibraryW(0046efc0 L"C:\users\focht\Temp\msi33f0.tmp") ret=100216c8 ... 01ac:Ret PE DLL (proc=606B2DB4,module=606B0000 L"msi33f0.tmp",reason=PROCESS_ATTACH,res=00000000) retval=1 ... 01ac:Ret KERNEL32.LoadLibraryW() retval=606b0000 ret=100216c8 01ac:Call KERNEL32.GetProcAddress(606b0000,004623d0 "ManagedInstall") ret=100216dc 01ac:Ret KERNEL32.GetProcAddress() retval=606b2a25 ret=100216dc ... 01ac:Call msi.MsiGetPropertyW(00000001,606b1490 L"CustomActionData",606b14b4,0237fc7c) ret=606b2a45 ... 01ac:Call mscoree.CorBindToRuntimeHost(00000000,00000000,0046f5ce L"C:\users\focht\Temp\CFGd244.tmp",00000000,00000006,606b11ec,606b11fc,0237fc54) ret=606b299d ... 01ac:Call mscoree.ClrCreateManagedInstance(606b1320 L"System.Configuration.Install.ManagedInstallerClass,System.Configuration.Install,version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",606b11dc,0237fc68) ret=606b29c4 ... 012c:err:msi:execute_script Execution of script 0 halted; action L"[/installtype=notransaction /action=install /LogFile= "C:\Program Files (x86)\NinjaTrader 7\bin\NinjaTrader.Installer.dll" "C:\users\focht\Temp\CFGd244.tmp"<=>S-1-5-21-0-0-0-1000<=>{9400B6FE-2573-4836-9074-14B4C283DD77}]_E151F635_F630_4281_BB7F_F27658F92BB2.install" returned 1603 ... 012c:err:msi:ITERATE_Actions Execution halted, action L"InstallExecute" returned 1603 --- snip ---
Wine-Mono trace:
--- snip --- $ WINE_MONO_TRACE=all WINE_MONO_VERBOSE=1 wine msiexec -i NinjaTrader.Install.msi >>log_mono.txt 2>& ... Method int System.Configuration.Install.ManagedInstallerClass:System.Configuration.Install.IManagedInstaller.ManagedInstall (string,int) emitted at 04aa64e0 to 04aa660a (code length 298) [msiexec.exe] [0000025c: 0.01016 2] ENTER:c System.Configuration.Install.ManagedInstallerClass:System.Configuration.Install.IManagedInstaller.ManagedInstall (string,int)(this:03400328[System.Configuration.Install.ManagedInstallerClass msiexec.exe], [STRING:03400490:/installtype=notransaction /action=install /LogFile= "C:\Program Files (x86)\NinjaTrader 7\bin\NinjaTrader.Installer.dll" ], 1) converting method void System.NotImplementedException:.ctor () Method void System.NotImplementedException:.ctor () emitted at 04aa6610 to 04aa6822 (code length 530) [msiexec.exe] converting method (wrapper runtime-invoke) object object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) Method (wrapper runtime-invoke) object object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) emitted at 04aa6828 to 04aa6c63 (code length 1083) [msiexec.exe] [0000025c: 0.01038 3] ENTER:c (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)([System.NotImplementedException:03400598], 00000000, 0237fa28, 04aa6610) [0000025c: 0.01039 4] ENTER:c System.NotImplementedException:.ctor ()(this:03400598[System.NotImplementedException msiexec.exe]) ... --- snip ---
Current Wine-Mono sources:
https://github.com/madewokherd/mono/blob/324907a64b72bef95d00fc9dbcf6fa13997...
--- snip --- namespace System.Configuration.Install { [GuidAttribute ("42EB0342-0393-448f-84AA-D4BEB0283595")] [ComVisible (true)] public class ManagedInstallerClass : IManagedInstaller { public ManagedInstallerClass () { }
[MonoTODO] public static void InstallHelper (string[] args) { throw new NotImplementedException (); }
[MonoTODO] int IManagedInstaller.ManagedInstall (string argString, int hInstall) { throw new NotImplementedException (); } } } --- snip ---
====
Stable download link via Internet Archive for documentation.
https://web.archive.org/web/20140730063239/http://ninjatrader.com/ninjatrade...
That's actually a bootstrapper (web-installer) which isn't very useful for archive.org snapshotting because the payload might be gone at any time. Tracing with +wininet debug channel reveals:
--- snip --- 012c:trace:wininet:InternetCrackUrlW L"https://ninjatrader.com/de/ninjatrader/nt7/NinjaTrader.Install.msi": scheme((null)) host(L"ninjatrader.com") path((null)) extra((null)) --- snip ---
Created snapshot for the English MSI package here:
https://web.archive.org/web/20220101180121/https://ninjatrader.com/ninjatrad...
https://www.virustotal.com/gui/file/de9eb61c9070fddcbb6270861e5a98a2f43719f3...
$ sha1sum NinjaTrader.Install.msi 6284742495706f8c2ce484f7012a5c10ea1d2147 NinjaTrader.Install.msi
$ du -sh NinjaTrader.Install.msi 65M NinjaTrader.Install.msi
$ wine --version wine-7.0-rc3
Regards
https://bugs.winehq.org/show_bug.cgi?id=15796
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com