http://bugs.winehq.org/show_bug.cgi?id=30439
Bug #: 30439 Summary: Lexware Update Manager unable to connect Product: Wine Version: 1.5.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: rpc AssignedTo: wine-bugs@winehq.org ReportedBy: onny@project-insanity.org Classification: Unclassified
Created attachment 39801 --> http://bugs.winehq.org/attachment.cgi?id=39801 terminal output LxUpdateManager.exe
After successful installation of Lexware buchhalter 2012, I removed all ie6 dll overwrites, installed Mono 2.10 via winetricks and started the program LxUpdateManager.exe. After clicking on "Jetzt suchen..." ("Search now... [for updates]"), a message appears, saying that the program is unable to reach the server and that could be due to wrong proxy settings etc.
http://bugs.winehq.org/show_bug.cgi?id=30439
Jonas Heinrich onny@project-insanity.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |onny@project-insanity.org
http://bugs.winehq.org/show_bug.cgi?id=30439
Jonas Heinrich onny@project-insanity.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
http://bugs.winehq.org/show_bug.cgi?id=30439
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|rpc |-unknown
--- Comment #1 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-15 10:14:15 CDT --- Might be related to this: err:ole:CoGetClassObject class {4e14fba2-2e22-11d1-9964-00c04fbbb345} not registered
Which is a CEventSystem and completely not implemented in Wine.
http://bugs.winehq.org/show_bug.cgi?id=30439
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Depends on| |20651 Summary|Lexware Update Manager |Lexware 2012 products |unable to connect |update manager | |"LxUpdateManager" fails due | |to "LxWebAccess" COM server | |requiring WMI Ever Confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net 2012-04-16 15:16:44 CDT --- Hello,
--- quote --- Which is a CEventSystem and completely not implemented in Wine. --- quote ---
MSDN documentation: http://msdn.microsoft.com/en-us/library/cc226283%28v=prot.10%29.aspx (Component Object Model Plus (COM+) Event System Protocol Specification)
http://msdn.microsoft.com/en-us/library/cc226297%28v=prot.10%29.aspx (Standards Assignments)
I've got hands on a similar product from same company, "Lexware Financial Office Pro 2012" which seems to use same update mechanism.
The updater service is implemented as local COM server, instantiated by LxUpdateManager.exe:
--- snip --- 0009:trace:ole:create_server activating local server L""C:\Program Files\Common Files\Lexware\LxWebAccess\LxWebAccess.exe" -Embedding" for {4c785741-7f95-4309-b372-41bf7cd4804c} ... --- snip ---
The COM server creates a log file "LxWebAccess.log" which gives some hints:
--- snip --- $ pwd /home/focht/.wine/drive_c/users/focht/Local Settings/Application Data/Lexware/LxWebAccess/Konfiguration $ ls LxWebAccess.log --- snip ---
--- snip LxWebAccess.log --- ... [2012-04-16 21:17:50.0846] pID 62 tID 71 LxWebAccess version I80.00.0027 starting up [2012-04-16 21:17:50.0859] pID 62 tID 71 Warning in method [CLxWebAccessXMLConfigManager::LoadConfiguration]. Message: Cannot open file. [2012-04-16 21:17:50.0864] pID 62 tID 71 Plugins found: [2012-04-16 21:17:51.0062] pID 62 tID 71 Etwork Diagnostic Tool ?0.?" [2012-04-16 21:17:51.0380] pID 62 tID 71 Error in method [CLxSensNetworkManager::RegisterSubscriptions]. Message: Failed to create EventSystem object Error code: 80040154. [2012-04-16 21:17:51.0384] pID 62 tID 71 Error in method [CLxSensNetworkManager::Init]. Message: RegisterSubscriptions failed. [2012-04-16 21:17:51.0387] pID 62 tID 71 Error in method [CLxWebAccessObject::FinalConstruct]. Message: CLxSensNetworkManager::getInstance()->Init() failed. [2012-04-16 21:17:51.0392] pID 62 tID 71 Error in method [CLxWMINetworkManager::PrepareWMI]. Message: pLoc->ConnectServer failed. Error code: 80041001. [2012-04-16 21:17:51.0396] pID 62 tID 71 Error in method [CLxWMINetworkManager::Init]. Message: PrepareWMI or RegisterEvents failed. [2012-04-16 21:17:51.0399] pID 62 tID 71 Error in method [CLxWebAccessObject::FinalConstruct]. Message: CLxWMINetworkManager::getInstance()->Init() failed. ... --- snip ---
Failure to instanciate COM server for CLSID_EventSystem seems not critical, WMI is used as "backup" strategy.
This obviously fails due to bug 20651 , setting dependency.
Regards
http://bugs.winehq.org/show_bug.cgi?id=30439
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wmi&wbemprox
--- Comment #3 from Anastasius Focht focht@gmx.net 2012-04-16 16:02:34 CDT --- Hello,
addendum, with some infrastructure from bug 20651 it specifically wants CLSID_UnsecuredApartment:
--- snip --- 0047:Call ole32.CoCreateInstance(004bb320,00000000,00000017,004c7d48,00dae1f8) ret=00470ef1 0047:trace:ole:CoCreateInstance (rclsid={49bd2028-1523-11d1-ad79-00c04fd8fdff}, pUnkOuter=(nil), dwClsContext=00000017, riid={1cfaba8c-1523-11d1-ad79-00c04fd8fdff}, ppv=0xdae1f8) 0047:trace:ole:CoGetClassObject CLSID: {49bd2028-1523-11d1-ad79-00c04fd8fdff},IID: {00000001-0000-0000-c000-000000000046} ... 0047:err:ole:create_server class {49bd2028-1523-11d1-ad79-00c04fd8fdff} not registered 0047:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported 0047:err:ole:CoGetClassObject no class object {49bd2028-1523-11d1-ad79-00c04fd8fdff} could be created for context 0x17 0047:Ret ole32.CoCreateInstance() retval=80040154 ret=00470ef1 --- snip ---
Update server log:
--- snip --- [2012-04-16 22:42:49.0136] pID 62 tID 71 LxWebAccess version I80.00.0027 starting up [2012-04-16 22:42:49.0142] pID 62 tID 71 Warning in method [CLxWebAccessXMLConfigManager::LoadConfiguration]. Message: Cannot open file. [2012-04-16 22:42:49.0144] pID 62 tID 71 Plugins found: [2012-04-16 22:42:49.0259] pID 62 tID 71 Etwork Diagnostic Tool ?0.?" [2012-04-16 22:42:49.0465] pID 62 tID 71 Error in method [CLxSensNetworkManager::RegisterSubscriptions]. Message: Failed to create EventSystem object Error code: 80040154. [2012-04-16 22:42:49.0466] pID 62 tID 71 Error in method [CLxSensNetworkManager::Init]. Message: RegisterSubscriptions failed. [2012-04-16 22:42:49.0467] pID 62 tID 71 Error in method [CLxWebAccessObject::FinalConstruct]. Message: CLxSensNetworkManager::getInstance()->Init() failed. [2012-04-16 22:42:49.0470] pID 62 tID 71 Error in method [CLxWMINetworkManager::PrepareWMI]. Message: pUnsecApp.CoCreateInstance(CLSID_UnsecuredApartment) failed. Error code: 80040154. [2012-04-16 22:42:49.0471] pID 62 tID 71 Error in method [CLxWMINetworkManager::Init]. Message: PrepareWMI or RegisterEvents failed. [2012-04-16 22:42:49.0472] pID 62 tID 71 Error in method [CLxWebAccessObject::FinalConstruct]. Message: CLxWMINetworkManager::getInstance()->Init() failed. --- snip ---
See: http://vdfwinapi.googlecode.com/svn/trunk/Include/WbemCli.Idl
--- snip --- [uuid(49bd2028-1523-11d1-ad79-00c04fd8fdff)] coclass UnsecuredApartment { interface IUnsecuredApartment; interface IWbemUnsecuredApartment; };
...
[restricted, uuid(1cfaba8c-1523-11d1-ad79-00c04fd8fdff), object] interface IUnsecuredApartment : IUnknown { HRESULT CreateObjectStub( [in] IUnknown* pObject, [out] IUnknown** ppStub); };
typedef [v1_enum] enum tag_WBEM_UNSECAPP_FLAG_TYPE { WBEM_FLAG_UNSECAPP_DEFAULT_CHECK_ACCESS = 0, WBEM_FLAG_UNSECAPP_CHECK_ACCESS = 1, WBEM_FLAG_UNSECAPP_DONT_CHECK_ACCESS = 2
} WBEM_UNSECAPP_FLAG_TYPE;
[restricted, uuid(31739d04-3471-4cf4-9a7c-57a44ae71956), object] interface IWbemUnsecuredApartment : IUnsecuredApartment { HRESULT CreateSinkStub( [in] IWbemObjectSink* pSink, [in] DWORD dwFlags, // must be WBEM_UNSECAPP_FLAG_TYPE [in,unique] LPCWSTR wszReserved, // must be NULL [out] IWbemObjectSink** ppStub ); }; --- snip ---
I hope WBEM/WMI gets picked up by GSoC applicant or other people. It might seem undervalued compared with "popular" Wine topics but it will be quite useful for lots of apps.
Regards
http://bugs.winehq.org/show_bug.cgi?id=30439
Bug 30439 depends on bug 20651, which changed state.
Bug 20651 Summary: Many .NET based applications need WMI core infrastructure (Wine doesn't provide a WMI implementation) http://bugs.winehq.org/show_bug.cgi?id=20651
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
https://bugs.winehq.org/show_bug.cgi?id=30439
--- Comment #4 from austinenglish@gmail.com --- Could someone retest this in 1.7.16 please?
https://bugs.winehq.org/show_bug.cgi?id=30439
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- This is not implemented, comment 3 still applies. It will need exe COM server unsecapp.exe.
https://bugs.winehq.org/show_bug.cgi?id=30439
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Lexware 2012 products |Multiple apps need support |update manager |for WMI 'Unsecapp.exe', |"LxUpdateManager" fails due |'CLSID_UnsecuredApartment', |to "LxWebAccess" COM server |'{49bd2028-1523-11d1-ad79-0 |requiring WMI |0c04fd8fdff}' (Lexware 2012 | |Update Manager, Logitech | |Software)
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
still present. Refining summary to merge more dupes here.
MSDN: http://msdn.microsoft.com/en-us/library/aa392289%28v=vs.85%29.aspx
$ wine --version wine-1.7.34-74-gcf92569
Regards
https://bugs.winehq.org/show_bug.cgi?id=30439
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |natanelcom@icloud.com
--- Comment #7 from Anastasius Focht focht@gmx.net --- *** Bug 37923 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30439
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://web.archive.org/web | |/20141119193222/http://logi | |tech-louk.navisite.net/web/ | |ftp/pub/techsupport/gaming/ | |LGS_8.57.145_x86_Logitech.e | |xe
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present. Encountered this again when investigating bug 48886
Stable download link from bug 37923 via Internet Archive:
https://web.archive.org/web/20141119193222/http://logitech-louk.navisite.net...
Stable download link from bug 48886 via Internet Archive:
https://web.archive.org/web/20200404175412/https://download01.logi.com/web/f...
$ wine --version wine-5.5-242-g7096ab4544
Regards
https://bugs.winehq.org/show_bug.cgi?id=30439
wineuser sickam@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sickam@mail.ru
--- Comment #9 from wineuser sickam@mail.ru --- Still present in Wine Staging 6.5. Bug 49736 seems to be related.
https://bugs.winehq.org/show_bug.cgi?id=30439
--- Comment #10 from wineuser sickam@mail.ru --- Still present in Wine Staging 6.8.
https://bugs.winehq.org/show_bug.cgi?id=30439
--- Comment #11 from wineuser sickam@mail.ru --- Still present in Wine/Wine Staging 6.10.