Question and Answer Database FAQ419C.txt Error -51 Category :Install Issues Platform :All Product :C++Builder 1.x Question: Q: When ever I try to install Borland C++ Builder onto my machine Install Shield gives me Error51. Would does this mean and how can I get ride of it? Answer: The problem seems to be related to attempts by the install engine to ask the internet control pack dlls to self-register (which happens, one at a time, after the controls are installed). The self-registration is failing, which returns an error to InstallShield, which bails with this less than useful error message. Why is registration failing? Ultimately, the problem is because there is a set of dependencies between certain files such that, if there are mixmatched versions (as there are when one control has been installed and others haven't, if a different version of the pack has been installed), the dependencies get crosswired. Solution: delete the following files and reinstall: nmsckn.dll nmorenu.dll nmocod.dll winsck.ocx ftpct.ocx nmftpsn.dll nntpct.ocx smtpct.ocx popct.ocx html.ocx nmw3vwn.dll httpct.ocx olepro32.dll We have also recieved reports of a similar problem related to having multiple inconsistent versions of wsock32.dll and winsock.dll. You should verify that you only have one copy of each in your search path, and then recopy the .dll from your windows install CD. 7/2/98 10:32:32 AM
Last Modified: 01-SEP-99