cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
alphonseg
Level 4

Setup Fails with error 1904 SAP BusinessObjects...dll Failed to Register

Using VS2013 & InstallShield Limited Edition
I have built a small demo Winforms project that requires .NET Framework 4.0.
In my setup package I have checked .NET 4.0 Full Package as a requirement and
redistributables of .NET Framework 4.0 (web download) and Windows Installer 4.5 Update for Windows XP SP3 and later (x86).
Under SingleImage > Setup.exe, I had set InstallShield Prerequisites Location to 'Follow Individual Selections'.
The setup package worked fine on a Windows XP clean VM.
However, I wanted everything contained within the Setup.exe, so I wouldn't need to distribute the ISSetupPrerequisites folder.
I changed Prerequisites Location to 'Extract From Setup.exe'. Now when I try to install on the Windows XP clean VM, I receive the error 1904, Module C:\Program Files\SAP BusinessObjects\Crystal Reprots for .NET Framework 4.0...\reportrendered.dll Failed to Register. HRESULT -2147010895.
The thing is that neither my project, or setup use or reference any Crystal Reports objects.
Could anyone offer an explanation and/or solution?
0 Kudos
(4) Replies
chiranjeevi
Level 7 Flexeran
Level 7 Flexeran

Hello,

We are currenly working on this issue, and will get back to you with further information at the earliest possible time.

Regards,
Chiranjeevi
0 Kudos
Chaitra
Level 9

Hi,

Kindly try to un-register Crystal Reports or any other associated dll manually and check if it helps resolving this error.

You may also want to check to see if you have any version of the dll registered on your build box. If so, unregister and remove it. InstallShield could be getting its registration information from the version of the dll registered on your box rather than from the new version.

You can then delete the component from your project and create a new component for it. You can use COM extract at build and you will be assured that you always get the latest registry information for the dll.

For more information about this, kindly take sometime to have a look at the below links:

http://community.flexerasoftware.com/showthread.php?84898-Error-1904-Module-failed-to-register

http://community.flexerasoftware.com/showthread.php?115713-error-1904-failed-to-register

http://community.flexerasoftware.com/showthread.php?195711-Error-1904-registering-dll-in-win7-win2k8-64-bit

Hope this helps.

Please let us know if you need more assistance on this issue.

Thanks,
Chaitra
0 Kudos
alphonseg
Level 4

Thanks for the reply. I've done some digging. The real issue is not the error. That is caused by not having the other prerequisites included in the setup that CR runtime requires.
The big problem is that CR runtime is included in my project, even though I am not using any CR objects.
To avoid confusion, I think it best that I start a new thread isolating that problem.
0 Kudos
Chaitra
Level 9

Hi,

Thank you for the update on this issue.

This seems to be a duplicate thread. Kindly follow the below thread for the updates on same.

http://community.flexerasoftware.com/showthread.php?213668-SAP-Crystal-Reports-Runtime-included-in-setup-when-not-used-in-project

Thanks,
Chaitra
0 Kudos