Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2004

Tip: Looking for answers? Try searching our database.

How to register COM component

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mervin Williams - 13 Oct 2004 15:17 GMT
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
Carlos J. Quintero [MVP] - 13 Oct 2004 16:12 GMT
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.

Signature

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

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com

> 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
[quoted text clipped - 10 lines]
>
> Mervin Williams
???F - 14 Oct 2004 01:51 GMT
Use ShellExecute to run 'regsvr32 ...dll'

> 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
[quoted text clipped - 10 lines]
>
> Mervin Williams

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.