https://bugs.winehq.org/show_bug.cgi?id=51732
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW URL|https://update.tradestation |https://web.archive.org/web |.com/Installs/TradeStation/ |/20211120103202/https://upd |10.00.02.925/TradeStation%2 |ate.tradestation.com/Instal |0Setup.exe |ls/TradeStation/10.00.02.92 | |5/TradeStation%20Setup.exe CC| |focht@gmx.net Component|-unknown |ole32 Summary|TradeStation Installer: |TradeStation 10 installer |Unable to register servers. |fails: 'Unable to register |Setup will now abort. |servers. Setup will now | |abort.' (failure to create | |COM Elevation Moniker)
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
--- snip --- $ WINEDEBUG=+seh,+relay,+msi,+loaddll wine ./TradeStation\ Setup.exe >>log.txt 2>&1 ... 01b0:trace:msi:HANDLE_CustomType1 Calling function L"AfterInstallFiles" from L"C:\users\focht\Temp\msi4198.tmp" ... 01b0:trace:msi:wait_thread_handle waiting for L"TS_CA_AfterInstallFiles" ... 0278:Call KERNEL32.LoadLibraryW(0047a750 L"C:\users\focht\Temp\msi4fed.tmp") ret=100216c8 ... 02a4:Ret PE DLL (proc=027C4F36,module=02670000 L"msi4198.tmp",reason=PROCESS_ATTACH,res=00000000) retval=1 ... 02a4:Ret KERNEL32.LoadLibraryW() retval=02670000 ret=100216c8 02a4:Call KERNEL32.GetProcAddress(02670000,0046e218 "AfterInstallFiles") ret=100216dc 02a4:Ret KERNEL32.GetProcAddress() retval=0267d8f0 ret=100216dc ... 02ac:Call KERNEL32.LoadLibraryExW(02e5fa7c L"C:\users\focht\Temp\TSInstallCAUtils.dll",00000000,00000008) ret=026730a7 ... 02ac:Ret PE DLL (proc=0350540B,module=033D0000 L"TSInstallCAUtils.dll",reason=PROCESS_ATTACH,res=00000000) retval=1 ... 02ac:Ret KERNEL32.LoadLibraryExW() retval=033d0000 ret=026730a7 02ac:Call KERNEL32.GetProcAddress(033d0000,02834c1c "GetRootDirectoryFromVersion") ret=02673137 02ac:Ret KERNEL32.GetProcAddress() retval=033d1cb0 ret=02673137 02ac:Call KERNEL32.GetProcAddress(033d0000,02834c74 "RegisterComServer") ret=02673197 02ac:Ret KERNEL32.GetProcAddress() retval=033d1fd0 ret=02673197 02ac:Call KERNEL32.GetProcAddress(033d0000,02834cbc "CopyFolder") ret=026731f7 02ac:Ret KERNEL32.GetProcAddress() retval=033d2730 ret=026731f7 02ac:Call KERNEL32.GetProcAddress(033d0000,02834cf4 "DeleteFolder") ret=02673257 02ac:Ret KERNEL32.GetProcAddress() retval=033d26f0 ret=02673257 02ac:Call KERNEL32.GetProcAddress(033d0000,02834d30 "CleanFolder") ret=026732b7 02ac:Ret KERNEL32.GetProcAddress() retval=033d2710 ret=026732b7 02ac:Call KERNEL32.GetProcAddress(033d0000,02834d68 "VerCompare") ret=02673317 02ac:Ret KERNEL32.GetProcAddress() retval=033d2100 ret=02673317 02ac:Call KERNEL32.GetProcAddress(033d0000,02834d9c "GetKnownFolderPath") ret=02673377 02ac:Ret KERNEL32.GetProcAddress() retval=033d1f30 ret=02673377 02ac:Call KERNEL32.GetProcAddress(033d0000,02834de4 "LaunchAppAndWait") ret=026733d7 02ac:Ret KERNEL32.GetProcAddress() retval=033d1b00 ret=026733d7 02ac:Call KERNEL32.GetProcAddress(033d0000,02834e28 "DeleteKeyFromRegistry") ret=02673437 02ac:Ret KERNEL32.GetProcAddress() retval=033d1e10 ret=02673437 02ac:Call KERNEL32.GetProcAddress(033d0000,02834e78 "RegisterAll") ret=02673497 02ac:Ret KERNEL32.GetProcAddress() retval=033d2bf0 ret=02673497 02ac:Call KERNEL32.GetProcAddress(033d0000,02834eb0 "AdjustRegistryVersion") ret=026734f1 02ac:Ret KERNEL32.GetProcAddress() retval=033d2e10 ret=026734f1 ... 02ac:Call msi.MsiRecordSetStringA(00000003,00000000,02867250 "AfterInstallFiles: Primary language ID = 1033 \r\n") ret=02691b97 ... 02ac:Call ole32.CoGetObject(02e5f2d0 L"Elevation:Administrator!new:{7CEEAF57-D59E-11D3-8394-00C04F7BDF10}",02e5f2ac,035619c0,02e5f5b0) ret=033d2dfc 02ac:trace:ole:CreateBindCtx 0, 02E5F244 ... 02ac:trace:ole:BindCtxImpl_SetBindOptions (004C8BA0,02E5F2AC) ... 02ac:trace:ole:MkParseDisplayName (004C8BA0, L"Elevation:Administrator!new:{7CEEAF57-D59E-11D3-8394-00C04F7BDF10}", 02E5F24C, 02E5F248) ... 02ac:Call combase.CLSIDFromProgID(004bf2a8 L"Elevation",02e5f210) ret=00551caf ... 02ac:warn:ole:clsid_from_string_reg couldn't open key for ProgID L"Elevation" 02ac:Ret combase.CLSIDFromProgID() retval=800401f3 ret=00551caf ... 02ac:trace:ole:CreateFileMoniker (L"Elevation:Administrator!new:{7CEEAF57-D59E-11D3-8394-00C04F7BDF10}",02E5F1C8) ... 02ac:trace:ole:FileMonikerImpl_Construct (004BF2A8,L"Elevation:Administrator!new:{7CEEAF57-D59E-11D3-8394-00C04F7BDF10}") ... 02ac:trace:ole:FileMonikerImpl_DecomposePath L"Elevation:Administrator!new:{7CEEAF57-D59E-11D3-8394-00C04F7BDF10}", 00000000 ... 02ac:trace:ole:FileMonikerImpl_QueryInterface 004BF2A8, {0000000f-0000-0000-c000-000000000046}, 02E5F1C8. 02ac:trace:ole:FileMonikerImpl_AddRef (004BF2A8) 02ac:trace:ole:BindCtxImpl_GetRunningObjectTable (004C8BA0,02E5F1C0) 02ac:trace:ole:GetRunningObjectTable 0, 02E5F1C0 ... 02ac:Ret combase.InternalIsProcessInitialized() retval=00000001 ret=005518cc 02ac:trace:ole:RunningObjectTableImpl_AddRef 005D31D0 02ac:trace:ole:RunningObjectTableImpl_IsRunning (005D31D0,004BF2A8) 02ac:trace:ole:CreateBindCtx 0, 02E5F194 ... 02ac:trace:ole:FileMoniker_CreateFromDisplayName couldn't open file L"C:\users\focht\Temp\TRADESTATION20211120\Elevation:Administrator!new:{7CEEAF57-D59E-11D3-8394-00C04F7BDF10}" ... 02ac:Ret ole32.CoGetObject() retval=800401ea ret=033d2dfc ... 02ac:Call msi.MsiRecordSetStringA(00000003,00000000,02867250 "AfterInstallFiles: TSLOG: failed running RegisterAll") ret=02691b97 ... 02ac:Call msi.MsiRecordSetStringW(00000003,00000000,0283c920 L"Unable to register servers. Setup will now abort.") ret=0267e299 ... 02a8:Call user32.MessageBoxW(00000000,02ea3178 L"Unable to register servers. Setup will now abort.",100993fe L"Windows Installer",00000030) ret=100536ce --- snip ---
It makes use of COM Elevation Moniker.
https://docs.microsoft.com/en-us/windows/win32/com/the-com-elevation-moniker
Also mentioned in bug 22392 which was marked as dupe of bug 20296 (missing support for COM dll surrogate, dllhost.exe) because of the fallback path (standard COM surrogate instanciation).
In hindsight bug 22392 could have stayed alone for COM Elevation Moniker, making this a dupe. Bug 38756 might be related as well.
Might refine this bug into a general dupe collector later, or resolve as dupe.
Stable download link via Internet Archive:
https://web.archive.org/web/20211120103202/https://update.tradestation.com/I...
https://www.virustotal.com/gui/file/9710db1c2cea3e65a146e64a944c91c318cdfefe...
$ sha1sum TradeStation\ Setup.exe 4f4a97306a4325f4ec0464cab71a2ecdc0ae91e2 TradeStation Setup.exe
$ du -sh TradeStation\ Setup.exe 211M TradeStation Setup.exe
$ wine --version wine-6.22
Regards