Comcat.dll can't be registered

I'm having trouble with the resolves in Q174217 regards to a comcat.dll that was unable to register on an NT machine, during a run-time install.  The run-time setup wizard (on my machine at home) either needs a different comcat or the NT (clients) machine does, but the article makes no suggestions on how to make that happen.  Has anyone experienced this problem?

Bill
LVL 1
billinbAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

berg1375Commented:
This came straight from the microsoft knowledge base. I'm sure you will find the answer here  :)

ODE97: Comcat.dll Can't Be Registered During Run-time Install

--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Office 97 Developer Edition Tools
Microsoft Internet Explorer for Windows 95

--------------------------------------------------------------------------------


SYMPTOMS
When you run the Setup Wizard for your custom application on a Windows 95 computer that is running Microsoft Internet Explorer version 4.0 or on a computer running Windows 98, and you then install your application on a computer that does not have Microsoft Internet Explorer version 4.0 installed, you may receive the following error message

Comcat.dll was unable to register itself in the system registry
and Setup is not completed successfully.



CAUSE
You used the Office Developer Edition Setup Wizard to build disk images. These disk images include a later version of the Comcat.dll file than the version on the target computer. When you run Setup for your custom application, Comcat.dll is replaced with the newer version of the file from your disk image. Setup can not register this newer version properly; therefore, you receive the error described in the "Symptoms" section of this article.



RESOLUTION
To avoid this problem, you need to ensure that the version of Comcat.dll included in your disk images is compatible with all the operating systems and configurations on which you plan to install your application.

NOTE: After you have used one of the following resolutions, you will need to re-create your disk images and re-install your application to the target computers. To do this successfully, you will need to rename or remove the newer version of Comcat.dll that was copied to the computer during the previous failed installation before you try to reinstall your application.

Solution 1
Moderate: Requires basic macro, coding, and interoperability skills.

NOTE: A file is available for download from the Microsoft Download Center (Mdtupdtr.exe) that automatically carries out the manual steps listed for this solution. For more information, please see the following article in the Microsoft Knowledge Base:
Q179567 SetupWizard Template Files Updater Available in Download Center
It is possible to change the version of Comcat.dll that is included in your disk images by changing an entry in two of the Setup Wizard tables.

WARNING: Because the following solution will modify the default tables in the Setup Wizard, you should back up the following two tables for reference. If you completed a default installation of the Microsoft Office 97 Developer Edition, move to the following folder
C:\Program Files\Microsoft Office\ODETools\Setup Wizard\Msaccomp
and copy these files into a different folder:
01Microsoft Access Run-Time Version.MDT
07Microsoft Graph 97 Run-Time Version.MDT
After you have made backups of these two tables, follow these steps:
Copy a version of Comcat.dll that will register correctly into C:\Program Files\Microsoft Office\ODE Tools\Setup Wizard\Redist folder on your development computer.

NOTE: Version 4.71, which is on both the Office 97 Professional CD-ROM and the Microsoft Access 97 CD-ROM, will work.


Start Microsoft Access.


In the Microsoft Access dialog box, select Open An Existing Database, and then select More Files from the list. Click OK.


In the Open dialog box, select All Files (*.*) in the Files Of Type box, and move to the following directory:


C:\Program Files\Microsoft Office\ODETools\Setup Wizard\Msaccomp
Select and open the file, 01Microsoft Access Run-time Version.mdt.


Open the SHAREDMSO table and find the line with the following values:
LineID: add Comcat_dll
Param2: $(WinSysPath)
Param3: C:\Windows\System\COMCAT.DLL
Change these values so that they read as follows:


LineID: add Comcat_dll
Param2: $(SwizSetupFilesPath)
Param3: C:\program files\microsoft office\odetools\setup wizard \redist\comcat.dll
Close the database.


Select and open the file, 07Microsoft Graph 97 Run-Time Version.MDT, and repeat steps 6 and 7.


Solution 2
Novice: Requires knowledge of the user interface on single-user computers.

Use the Setup Wizard to create disk images on a computer that matches the lowest common configuration for all of the anticipated target computers for your application. Some configurations that would suit this purpose:
Windows 95 without Microsoft Internet Explorer


Windows 95 with Microsoft Internet Explorer 3.x or earlier


Windows NT 4.0 Workstation or Server running Service Pack 3


If you distribute an application using the Microsoft Office 97 Developer Edition and Microsoft Internet Explorer version 4.0 from Microsoft Windows NT version 4.0, please see the following article in the Microsoft Knowledge Base:
Q174508 ODE: Run-Time Application Built on IE 4.0 Computer Breaks IE 3.x



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
The newer version of Comcat.dll that does not register properly is installed by both Microsoft Internet Explorer 4.x and Microsoft Windows 98. Install custom applications that contain the newer file after installing either of these products on your development computer will cause the described behavior. You may receive the error message when you install your application that contains the newer file onto the following target machine configurations:

Windows 95 without Microsoft Internet Explorer


Windows 95 with Microsoft Internet Explorer 3.x or earlier


Windows NT with any version of Internet Explorer


The error occurs any time you install your application on a Windows NT 4.0 computer because when Internet Explorer 4.0 is installed onto a Windows NT 4.0 computer, it does not install the updated Comcat.dll file. The updated file is used strictly when installing on Windows 95.

For more information about other issues involving Office 97 Developer Edition and Internet Explorer 4.0, please see the following article in the Microsoft Knowledge Base:
Q179011 ODE: Running Microsoft Office 97 Developer Edition with IE 4.0
For more information about other issues involving the Office 97 Developer Edition and distributing applications, please see the following articles in the Microsoft Knowledge Base:
Q160870 ACC: VBA Functions Break in Databases with Missing References
Q162884 ODE97: Troubleshooting ODE Setup Wizard Problems

Additional query words: pra ie4

Keywords          : EvnOthr OdeGen
Version           : WINDOWS:
Platform          : WINDOWS
Issue type        : kbbug
 
0
billinbAuthor Commented:
Should I just download and copy a new DLL for the NT machine?  I'm a little clueless on this system level/registry/.dll stuff.

What's the best way to (quoting from above) "ensure the version of Comcat.dll included in the setup images is compatible with the configuration on which you plan to install" ?

Intuitively, I'm hesitant to replace any DLLs.  Please note in my initial question I was pretty clear that I've already read the resolves in Q174217 - I'm just not understanding them.  I haven't done this enough times to feel any level of confidence.

Bill
0
dsegardCommented:
Hi,

Follow Berg1375 suggestion. You can replace COMCAT.DLL v5 with 4.71 in your package.

COMCAT.DLL is used to determine the list of ActiveX controls an application can use. Some VB6 ActiveX can't be used within Access.

Btw, there are some other issues with COMCAT : IE bar seems uncomplete and in Acces 97, your ActiveX list is empty.

Using (or replacing) COMCAT with 4.71 solves this pb.

I was close to suicide a few month ago with that pb. The solution is so simple... I understand you can't beleive it.

DS
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

billinbAuthor Commented:
Thanks.  I'll look into those other issues also.

Bill
0
dsegardCommented:
Hi Billinb,

I think you have accepted the wrong answer. Berg was the one... but doesn't matter. I will pay him later.

Thanks anyway. Let us know if you still have pb.

DS
0
berg1375Commented:
Pay me? Does this mean you're gonna give me money istead of points? I like this idea  :-)
0
dsegardCommented:

I will choose my words more carefully next time !

Have a look to this
http://www.experts-exchange.com/jsp/qShow.jsp?ta=msaccess&qid=10230087 

If you have an idea...

DS
0
berg1375Commented:
That one I can't help you on. Although if anyone can it will be JimMorgan. My graphing experience is extremely limited. Sorry.

berg
0
dsegardCommented:

The more important in that Q for me is to know if there is a faster way to fill an array from a table without using for...next.

Thanks

DS
0
berg1375Commented:
That's difficult to say, since I didn't get a chance to see the question, and don't have a very good understanding of the problem. If you want to elaborate, I may be able to come up with something.

berg
0
dsegardCommented:
The previous one was...

http://www.experts-exchange.com/jsp/qShow.jsp?ta=msaccess&qid=10225475 

I deleted Q but I will re-Q for 2nd part.

Thanks

DS
0
berg1375Commented:
So you are populating the array with the 250 records in the temp table? Is this a constant?

berg
0
dsegardCommented:

I will continue on a new Q. If I were Billinb I wouldn't like someone use my thread for another subject !

Sorry Billinb,

DS
0
berg1375Commented:
Good point. Do you have enough points to post for this thread (Billinb's Q.)? 280 is a lot to give up. I will be waiting for your question, it will give me something to do today  :)

berg
0
dsegardCommented:

Points are my last pb.

If you can answer the Q I've just posted, I will add 280 points to the amount.

If you can't, I will open a A280 Q for you. Don't worry.

DS
0
berg1375Commented:
Not worried, just don't want you draining your points.


berg
0
dsegardCommented:
Let me know if you prefer I open a specific one.

DS
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.