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
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Auto-indent certain lines in Notepad++ 10 76
Scheduled Tasks Tweak 5 31
Problem to App source 6 40
Printing issues after RDC session 3 19
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

810 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