[Bug 15796] Multiple .NET application installers need Wine-Mono 'System.Configuration.Install.ManagedInstallerClass' implementation (America's Army Deploy Client v1.2.x, NinjaTrader 7)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jan 1 13:04:08 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=15796

Anastasius Focht <focht at 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 at 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/324907a64b72bef95d00fc9dbcf6fa13997c6665/mcs/class/System.Configuration.Install/System.Configuration.Install/ManagedInstallerClass.cs#L49

--- 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/ninjatrader/nt7/setup.exe

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/ninjatrader/nt7/NinjaTrader.Install.msi

https://www.virustotal.com/gui/file/de9eb61c9070fddcbb6270861e5a98a2f43719f36c542165bf341c2c7e62eced

$ sha1sum NinjaTrader.Install.msi 
6284742495706f8c2ce484f7012a5c10ea1d2147  NinjaTrader.Install.msi

$ du -sh NinjaTrader.Install.msi 
65M    NinjaTrader.Install.msi

$ wine --version
wine-7.0-rc3

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list