CoCreateInstance failed; code 0x80040154

Questions about Wine on Linux
Locked
richholmes
Newbie
Newbie
Posts: 2
Joined: Sun Mar 18, 2018 1:57 pm

CoCreateInstance failed; code 0x80040154

Post by richholmes »

I wanted to try out some genealogical software under Ubuntu 16.04 (having tried Gramps and found it unsatisfactory), so installed Wine 3.0 and am trying to get it working. wine notepad does work, but attempts to install RootsMagic 7 or Family Historian 6 both result in an error dialog reading:

CoCreateInstance failed; code 0x80040154

In the terminal here are the messages when attempting to install Family Historian 6:

$ wine ~/Downloads/install_fh6.2.6_dl.exe
0009:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0009:fixme:process:SetProcessDEPPolicy (1): stub
0015:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0015:fixme:process:SetProcessDEPPolicy (1): stub
0015:fixme:win:DisableProcessWindowsGhosting : stub
0015:fixme:graphics:ShutdownBlockReasonDestroy (0x1007c): stub
0015:fixme:graphics:ShutdownBlockReasonCreate (0x1007c, L"Installing"): stub
0015:fixme:rstrtmgr:RmStartSession 0x49e3fc, 0, 0x49e400 stub!
0015:fixme:graphics:ShutdownBlockReasonDestroy (0x1007c): stub
0015:fixme:graphics:ShutdownBlockReasonCreate (0x1007c, L"Installing Family Historian."): stub
0015:fixme:msg:ChangeWindowMessageFilterEx 0x1008c c047 1 (nil)
0015:fixme:msg:ChangeWindowMessageFilterEx 0x10094 c047 1 (nil)
0015:fixme:msg:ChangeWindowMessageFilterEx 0x20094 c047 1 (nil)
0015:fixme:shell:SHAutoComplete stub
0015:err:ole:CoGetClassObject class {56fdf344-fd6d-11d0-958a-006097c9a090} not registered
0015:err:ole:CoGetClassObject no class object {56fdf344-fd6d-11d0-958a-006097c9a090} could be created for context 0x1
0015:fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\Family Historian\\unins000.exe") stub
0015:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
0015:err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
0015:fixme:progress:ProgressWindowProc state 0002 not yet handled

I am inexperienced with both Wine and Windows. Any suggestions?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: CoCreateInstance failed; code 0x80040154

Post by DarkShadow44 »

Your wine version is out of date, please update to wine 3.4 and try again.

Detailed explanation: It tries to use a COM object from explorerframe.dll (56fdf344-fd6d-11d0-958a-006097c9a090). That's unimplemented in your version of wine, it works for me with a recent version of wine.
richholmes
Newbie
Newbie
Posts: 2
Joined: Sun Mar 18, 2018 1:57 pm

Re: CoCreateInstance failed; code 0x80040154

Post by richholmes »

Really? wine 3.0 is the stable version; 3.4 is the development version. You're saying the stable version is out of date?

Well, in any case, I had more success with 3.4. Thanks.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: CoCreateInstance failed; code 0x80040154

Post by DarkShadow44 »

Actually, it should exist for several years already. Maybe your configuration is broken? Did you try a fresh WINEPREFIX already?
Locked