Setup: OCX and DLLs

P

pamela fluente

This may be a stupid question.

I am creating a setup project. The setup project automatically
includes
2 external DLLs. In the same folder of those DLL there is an OCX,
which anyway
does not show in the setup project.

Now if I do the deployment on a computer different than mine I
receive an
error message that goes like this:

System.Runtime.InteropServices.COMException (0x80040154): Interfaccia
non registrata. (Eccezione da HRESULT: 0x80040154
(REGDB_E_CLASSNOTREG))

I know I am missing something. Can you please point out what I am
doing wrong ?

How do I make aware the setup project of the OCX so that it is
registered on the target machine ?

Thank you very much,

-P
 
F

Family Tree Mike

I don't have a full VS at home at the moment, but when doing this some time
ago, I believe it was necessary to add the OCX as an individual file to the
installer package. Once added, there is a property to make it be registered
 
M

Michel Posseth [MCP]

I made in the past installer setups from VS.Net for my VB6 applications (
lots of COM components )
just ad them to the project manually and do not forget to set the COM
property for registring the type

HTH

Michel
 
P

pamela fluente

Thank you,

What can be wrong or corrupt on this computer?
On other computers it installs normally, with no problem.

I have added manually the OCX indicating VsdrfCOMSelfRegister.

Setup fails saying it cannot register the OCX.

Tried all the other options VsdrfCOM, same problem.

Tried manually by using regsvr32, but the program fails in error.

Tried unistalling the antivirus. No success.


Aiuto!

-P
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top