dhtmled.ocx and InstallShield X

Hi,
I have a software which is using
C:\Program Files\Common Files\Microsoft Shared\Triedit\dhtmled.ocx

The software works perfect on my computer but when I install it one a different computer, it gives "No interface supported" error whenever I try to use the component which belongs to this activex. I checked and there are version and filesize differences between my ocx and the client pc ocx.

How can I distribute this ocx with my software using Installshield?

Regards,
Bill
bilgehanyildirimAsked:
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.

wimmeyvaertCommented:
Have you registered this ocx by using c:\windows\system32\regsvr32.exe ?
0
bilgehanyildirimAuthor Commented:
I have done
start>run>regsrv32 "C:\Program files\myprogramdir\dhtmled.ocx" it said it successfully registered but nothing changed,
0
wimmeyvaertCommented:
What version of Delphi are you using ?

I have Delphi 5 and ther you can use Install shield Express to make a setup.
This is a wizard-using application, which let you include your own files into the setup (like ini-files, db-files, ocx-files, ...).

Then these included files will also be installed on the client.
But I'm not sure if the ocx-file will also be registered in Windows or not.
I guess it will just be copied to the specified directory.
So you will need to register it from within your application I guess by using the RegSvr.exe program, provided in Windows.

Usage: regsvr32.exe /s "C:\Program Files\Common Files\Microsoft Shared\Triedit\dhtmled.ocx"

The '/s' parameter is for SilentMode (no interaction with user).

Best regards,

The Mayor.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

bilgehanyildirimAuthor Commented:
I am using Delphi 7 and I don't have the installshield express which comes with delphi, I think..

I have standalone Install Shield X

>>regsvr32.exe /s "C:\Program Files\Common Files\Microsoft Shared\Triedit\dhtmled.ocx"

There is already an older version of my ocx in this directory. can i do like this

>>regsvr32.exe /s "C:\Program Files\myprogramdir\dhtmled.ocx"
and it will register my ocx and will copy/overwrite the older one under C:\Program Files\Common Files\Microsoft Shared\Triedit\. is this correct?
0
wimmeyvaertCommented:
It is situated in the 'Specify Components and Files'v Section of 'InstallShield Express'.
There you can add a new Group and set its 'Destination Directory' to <WINSYSDIR>.
Then Insert the OCX-File into this group.
After that Select this file and click on 'Properties'. Make sure you checked 'Allow express to Self-register this file'.

This should result in the OCX-File being copied to the system32-Map of Windows during install. And it should also be registered during install too.

I never tested this out, but normally this should work.

I will see if I can make some little demo-app which uses an ocx.
Have you Delphi 5 too ?
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
wimmeyvaertCommented:
Hm, point is that we should get this to work automaically during setup/install of your application.

I will see what I can do to make a small demo.

Maybe in the meantime you can try to do what I explained in my previous comment.
Maybe you have the same things in your version of InstallShield.

I'll keep in touch
0
wimmeyvaertCommented:
Are you sure you only need this ocx-file ?
Maybe you also need to install more than just this one file onto the Client ?
0
wimmeyvaertCommented:
Thanks for the points and the grade.
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
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.