EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error while installing CBFS driver

Posted: 11/19/2015 10:59:47
by Yves Langisch (Standard support level)
Joined: 06/17/2015
Posts: 27


I use the custom WiX action in your samples to install the CBFS driver in my MSI installer. A few customers report the following error:

MSI (s) (70:7C) [22:32:26:789]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
InstallCBFS_CA: Initialized.
InstallCBFS_CA: CustomActionData: Mountain Duck;196609
InstallCBFS_CA: ProductName = Mountain Duck
InstallCBFS_CA: CBFSModulesToInstall = 196609
InstallCBFS_CA: CBFSCab(g_hInst,IDR_CBFS_CAB1)
InstallCBFS_CA: CBFSCab.m_szOutputFilename
InstallCBFS_CA: C:\Users\MFLEUCHA\AppData\Local\Temp\Ext2AB8.tmp
InstallCBFS_CA: InstWrapper(CBFSInstaller.m_szOutputFilename)->
InstallCBFS_CA: Call InstWrapper.Install(C, Mountain Duck, TRUE, 196609, out)
InstallCBFS_CA: Error 0x80070002: Failed InstWrapper.Install
InstallCBFS_CA: Out hr
CustomAction InstallCBFS_CA returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 22:32:36: InstallFinalize. Return value 3.
MSI (s) (70:C4) [22:32:36:492]: User policy value 'DisableRollback' is 0

Any ideas?

Posted: 11/20/2015 05:31:38
by Yves Langisch (Standard support level)
Joined: 06/17/2015
Posts: 27

The events in the Windows Event viewer are as follows:

Level Date and Time Source Event ID Task Category
Information 20.11.2015 09:30:21 Microsoft-Windows-RestartManager 10001 None Ending session 0 started ‎2015‎-‎11‎-‎20T08:30:13.528042400Z.
Information 20.11.2015 09:30:21 MsiInstaller 1033 None Windows Installer installed the product. Product Name: Mountain Duck. Product Version: Product Language: 1033. Manufacturer: iterate GmbH. Installation success or error status: 1603.
Information 20.11.2015 09:30:21 MsiInstaller 11708 None Product: Mountain Duck -- Installation failed.
Information 20.11.2015 09:30:21 MsiInstaller 1042 None Ending a Windows Installer transaction: C:\Users\MFLEUCHA\Desktop\Mountain Duck Installer- Client Process Id: 2992.
Error 20.11.2015 09:30:20 cbfs5 1 None 30001, 2
Error 20.11.2015 09:30:19 cbfs5 1 None 2
Error 20.11.2015 09:30:19 cbfs5 1 None 2
Error 20.11.2015 09:30:19 cbfs5 1 None 2
Information 20.11.2015 09:30:13 Microsoft-Windows-RestartManager 10000 None Starting session 0 - ‎2015‎-‎11‎-‎20T08:30:13.528042400Z.
Information 20.11.2015 09:30:13 System Restore 8194 None Successfully created restore point (Process = C:\Windows\system32\msiexec.exe /V; Description = Installed Mountain Duck).

Confusing is cbfs5 as source since the installer contains CBFS6. cbfs5 might come from a previous installation.

Posted: 11/20/2015 06:03:54
by Volodymyr Zinin (Team)

Hi Yves,

Regarding "cbfs5" - perhaps the customers use your old installer.

If possible ask the customers, who have the problem, to enable CBFS logging. Let they create the value "Enabled" of type "dword" (which is set to "1") in "HKEY_LOCAL_MACHINE\SOFTWARE\EldoS\EventLog" and reboot the system.
Then let they reproduce the problem, execute "eventvwr.exe", save the "Application" and "System" folders in the Event Viewer native format (see the attached image), and give it to me.


Posted: 11/20/2015 07:04:29
by Yves Langisch (Standard support level)
Joined: 06/17/2015
Posts: 27

That's what I asked the customer to do according to https://www.eldos.com/documentation/cbfs/ref_gen_error_handling.html

Not sure though if the registry entry is correctly enabled. Will ask to check and reproduce again. In the meantime the files I have:


evtx not available as attachment.

From the log it's the correct installer containing CBFS6.
Posted: 11/20/2015 07:31:26
by Volodymyr Zinin (Team)

The most probable reason is that the CBFS v5 installer is used with cbfs.cab from CBFS v6. At least the logs show that the error is returned from the CBFS v5 installer and it says that the required driver files are not found in cbfs.cab.
Posted: 11/20/2015 09:46:19
by Yves Langisch (Standard support level)
Joined: 06/17/2015
Posts: 27

I've made some more tests. I'm able to reproduce it on 32bit systems. On 64bit systems all is fine.

I suspect that the cbfs.cab you deliver for CBFS v6 contains the old 32bit v5 driver. The containing 64bit driver seems fine. Or the installation dll refers to the old version.

Can you please check this?
Posted: 11/20/2015 10:46:16
by Yves Langisch (Standard support level)
Joined: 06/17/2015
Posts: 27

Just noticed that I forgot to update cbsfinst.dll in my project :( After updating the dll the installation is fine on 32bit systems too. Sorry for the noise.



Topic viewed 3870 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!