MS Internet Control Pack

Posted on 1997-09-11
Last Modified: 2013-12-16
I am trying to install the MS Internet Control Pack Beta (only on out there, that I know of) which is the file msicpb.exe (2.37mb) and everything goes well until the very very end of the install, when it goes to register the files. It ALWAYS tells me the following error: "Cannot load (or register) the file: (name) and it does it for all of the following files:

Because these files do not get registered, some shareware/freeware files do not work at all.

Also, I try to manually drag/drop the files onto Regsvr32.exe and it gives me the following error:
"LocalLibrary('C:\WINDOWS\SYSTEM\(FILE)") FAILED. GetLastError returns 0x00000001f."

Hope somebody can help. Thanks.
Question by:McDougal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 25

Expert Comment

ID: 1750589
McDougal: Try this tip for loading the program files:

Using the "Ctrl"   -   "Alt"   and "Del" keys, open the "close programs" doalogue box and close all running programs EXCEPT for "Systray"  and "Explorer".  Then try loading your program, rebooting afterwards.

Please post your progress please!

Best regards,


Author Comment

ID: 1750590
I tried as suggested, and the same things happened. Same exact errors. Still open to suggestions and ideas!
LVL 25

Expert Comment

ID: 1750591
McDougal: Here's some info I dug out of the MS Tech Database: Give this a try, it seems to fit the bill!
When using setup disks or a downloadable .exe file created by the Setup Wizard to install an executable file, the set up process does not complete because the following error appears:
   <filename.ocx> was unable to register itself in the System Registry
followed by the message:
   Setup not completed successfully.
The Setup process then terminates.
The Setup program is unable to register the .ocx file because it is corrupted or the incorrect version.
Ensure that the .ocx file is located in the same folder as the executable file before the Setup Wizard compresses the files.
Next, check the version of the .ocx file being used with the executable file against the corresponding .ocx file located in the either the Windows\System or Windows\System32 folder. On Windows 95, the Windows\System folder should contain the .ocx files that shipped with the executable on disk or the downloadable file. On Windows NT 3.51 or 4.0, they reside in the Windows\System32 folder. To determine the version of an .ocx file, on Windows 95 or Windows NT 4.0, start Windows Explorer or My Computer, highlight the .ocx file, right-click (secondary click) and click Properties on the menu that
appears, and press the Version tab. On Windows NT 3.51, highlight the file,and press the Alt and Enter keys.
The General tab provides information on the file size in bytes.

This information is useful if you suspect file corruption. Again, compare the file being compressed with the file in the appropriate Windows\System folder.

Additional Information for you!
When using the Setup program created by the Setup Wizard you may receive the following error message:
<control.ocx> was unable to Register itself in the System Registry
The .ocx files that the application needs were placed in a subdirectory of the distribution directory.
Make sure all .ocx files that your application needs are placed in the root distribution directory.
Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
For more information on distributing applications and the Setup Wizard please see chapters 25 and 26 in the Developer's Guide.
The following Steps to Reproduce Behavior assume that you have already created an application that uses .ocx controls.
Steps to Reproduce Behavior
1. Create the following Directory structure:

2. Place your .exe in the MyApp folder.
3. Place the .ocxs your application uses in the Controls folder.
4. Run the Setup Wizard.
5. Use the MyApp folder for the Distribution Tree Directory in Step 1 of the Setup Wizard.
6. On Step 6 make sure the .ocxs show WinSysDir as the TargetDir and that the OLE check box is selected.
7. When the Setup Wizard finishes installing the application on a machine that does not have Visual FoxPro or your .ocxs installed on it.
The Setup program installs all the files and just before it finishes trying to update the system files you get the following error message:
   <control.ocx> was unable to Register itself in the System Registry
If you look at the Windows\System folder you will see a folder under it named Controls. Inside the Controls folder is the .ocx files. Setup is looking for the .ocx files in the System folder, and when it does not find them there, it can't register them.

Let me know how you make out!

Best regards,

Author Comment

ID: 1750592
I'm sorry, that didn't work. I downloaded the file from two different servers, and the same results. The problem does not stop the setup proccess or abort it. It finishes and says that it was successful, but the programs are not being registered. Is there any other way to register them myself? Thanks for your time and patience.
LVL 25

Accepted Solution

dew_associates earned 100 total points
ID: 1750593
McDougal: If they can be registered manually, this is the way to accomplish this. If this doesn't work, than there are some other problems that haven't surfaced.
When an applications that uses an OLE Custom Control (.ocx
file) are released, the .ocx file must be registered properly for it to
work correctly. Ususally the accompanying Setup Wizard will
register an .ocx file properly, provided that you select the OLE
check box in Step 6 of the Wizard for the .ocx file. If an
application that uses an .ocx file is distributed by some other
means without the wizard, the .ocx file must be registered

This describes how to register an .ocx file manually.
You can use the Microsoft Register Server (Regsvr32.exe) to register a 32-bit .ocx file manually on a 32-bit operating system.
Look for the file Regsvr32.exe which should be located in the \Samples\Ole directory. It may be distributed separately or with
an application.

The syntax for using Regsvr32.exe is as follows:
   Regsvr32 [/u] [/s] <OCX File Name>
   /u means Unregister the .ocx File
   /s means Silent Mode (display no messages)
The following example registers the Microsoft MAPI OLE Custom Control without displaying any messages:
   Regsvr32 /s MSMAPI32.OCX
To implement this example in an application, use the RUN
 command as follows:
   RUN /N Regsvr32 /s MSMAPI32.OCX
NOTE: If an error occurs when registering a control, you should
 do the following:
1. Verify in the Registry that the control has not been registered

2. Verify that the following files are in the Windows\System
   mfc30.dll     olepro32.dll     msvcrt20.dll
   mfc40.dll     msvcrt10.dll     msvcrt40.dll
If one of these files is missing, you may receive the following error message.
   Error: OLE Error Code 0x80040112: Appropriate license for this
   class not found.

Best regards,


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Drive update software 34 70
laserjet printer error 10 43
80072efd error while checking for updates. 20 46
user database (login sql or login windows) 3 21
Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

761 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question