We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


MS Internet Control Pack

McDougal asked
Medium Priority
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.
Watch Question


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,


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

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,


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.
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,

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.