473,473 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to register COM component

I have created a setup project for my application which includes a non .NET
managed code COM object. My COM component is automatically registered when
I build my project.

I'm having problems registering the COM component during installation. In
my setup project, I set the Register property to "vsdrpCOM" for the Primary
Output from the COM project element. But, upon installation my COM
component is not registered.

How do I get my COM component to register during installation?

Thanks in advance,

Mervin Williams
Nov 17 '05 #1
2 1941
Using vsdrpCOMSelfRegister should work fine.

If not, some pointers:

1) Try to create a simple setup project sample that registers for COM a
(activex) file (not a project output), to see if it works.

2) Use the proper option of msiexec to create an installation log and
examine its contents to see why is failing.

--

Carlos J. Quintero (Visual Developer - .NET MVP)

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com
"Mervin Williams" <mw*******@innovasolutions.net> escribió en el mensaje
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have created a setup project for my application which includes a non ..NET managed code COM object. My COM component is automatically registered when I build my project.

I'm having problems registering the COM component during installation. In
my setup project, I set the Register property to "vsdrpCOM" for the Primary Output from the COM project element. But, upon installation my COM
component is not registered.

How do I get my COM component to register during installation?

Thanks in advance,

Mervin Williams

Nov 17 '05 #2
Use ShellExecute to run 'regsvr32 ...dll'

"Mervin Williams" <mw*******@innovasolutions.net> дÈëÓʼþ
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have created a setup project for my application which includes a non ..NET managed code COM object. My COM component is automatically registered when I build my project.

I'm having problems registering the COM component during installation. In
my setup project, I set the Register property to "vsdrpCOM" for the Primary Output from the COM project element. But, upon installation my COM
component is not registered.

How do I get my COM component to register during installation?

Thanks in advance,

Mervin Williams

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Boomessh | last post by:
Hai all, can any one help me in solving he following problem? I am registering a COM+ component in a machine. While registering i am getting the following error. ...
1
by: Mullin Yu | last post by:
i write a c# application with reference to a VB6 com dll by using Add Reference -> COM i found an Interop.xxxx.dll has been created at the build directory. it works fine at my development...
2
by: Andy Bates | last post by:
Hi - I have a C# .NET assembly that exposes a COM interface (basically has an interface and class with Guid attributes). If I compile this under VS.NET (with the "Register for COM Interop"...
4
by: Mihiri | last post by:
Hi, I have created a simple managed component in vb.Net with a public class exposing a public function. I successfully registered it using 'Regasm.exe' .. But when I tired to access it in vb...
1
by: Sakkatha | last post by:
Hi gourp Is it possible to register a custom web component foo.ascx in the code behind page???
7
by: John\\ | last post by:
I created a simple DLL called: MyDLL I have been trying to register it so I can see it in the COM References; Regsvr32 does not work for .NET DLL RegAsm - seems to work, but I can not select...
2
by: Geoffrey | last post by:
Hello, I create a COM object in c# to use some new functionnality in old softawre. On my dev platform, I register the component on build (option register for com interop) On production...
1
by: alpana.dhole | last post by:
I have made a ActiveX control for commericial application. A Drag and Drop component for Mail server. I need to host the component in Internet Explorer. When a user opens a mail it should...
8
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am using Visual Studio 2005 to develop a C# COM Class Library project. There is a setting in Build --Output, called *Register for COM Interop*. What is the usage of this...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.