Solved

MS Internet Control Pack

Posted on 1997-09-11
5
676 Views
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:
html.ocx
httpct.ocx
nntpct.ocx
popct.ocx
smtpct.ocx
winsck.ocx
ftpct.ocx

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.
0
Comment
Question by:McDougal
  • 3
  • 2
5 Comments
 
LVL 25

Expert Comment

by:dew_associates
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,
Dennis

0
 

Author Comment

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

Expert Comment

by:dew_associates
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!
====================
SYMPTOMS
========
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.
 
CAUSE
=====
 
The Setup program is unable to register the .ocx file because it is corrupted or the incorrect version.
 
RESOLUTION
==========
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
 
CAUSE
=====
The .ocx files that the application needs were placed in a subdirectory of the distribution directory.
 
WORKAROUND
==========
Make sure all .ocx files that your application needs are placed in the root distribution directory.
 
STATUS
======
Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
 
MORE INFORMATION
================
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:

    MyApp
     |
     |--Controls
 
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,
Dennis
0
 

Author Comment

by:McDougal
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.
0
 
LVL 25

Accepted Solution

by:
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
manually.

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>
 
where:
 
   /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
     before.  

2. Verify that the following files are in the Windows\System
     directory:
 
   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,
Dennis

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now