EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error while installing CBFS driver

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#35050
Posted: 11/19/2015 10:59:47
by Yves Langisch (Standard support level)
Joined: 06/17/2015
Posts: 24

Hi,

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:

Quote
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(g_hInst,IDR_CBFSINST_X32_DLL1)
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?

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

The events in the Windows Event viewer are as follows:

Quote
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: 1.0.6.2135. 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-1.0.6.2135.msi. 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.

-
Yves
#35059
Posted: 11/20/2015 06:03:54
by Volodymyr Zinin (EldoS Corp.)

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.

Thanks.


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

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:

https://dl.dropboxusercontent.com/u/395716/InstallFail.evtx
https://dl.dropboxusercontent.com/u/395716/InstallFailSystem.evtx

evtx not available as attachment.

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

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.
#35064
Posted: 11/20/2015 09:46:19
by Yves Langisch (Standard support level)
Joined: 06/17/2015
Posts: 24

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?
#35066
Posted: 11/20/2015 10:46:16
by Yves Langisch (Standard support level)
Joined: 06/17/2015
Posts: 24

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.
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

Topic viewed 2433 times

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




|

Back to top

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

Got it!