Registering .NET COM component during installation


I have a COM component developed in Visual C# .NET platform. I am using this component in many of my applications. But When I install this application the component is not working. I came to know that this was because of lacking registration.

Manually we want to register the activeX using this command line
Regasm / Codebase ControlActiveX.DLL

My installaer setup is created by Install Shield 2009. When I tried the "Self Register" method, I am getting this error message during the installation
"Error 1904. Module C:\Program FIles (x86)\ControlActiveX.DLL failed to register. HRESULT -2147220473. Contact your support personnel."

Can you tell me a way to register this addon successfully during the installation.

Who is Participating?

Please see the Installshield forum here:
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.

All Courses

From novice to tech pro — start learning today.