Register an Active X control during Clickonce Deployment

Posted on 2009-12-22
Last Modified: 2013-11-08
I am creating a Click-Once Deployment for my forms project.  In that project there is an Active X control and two Interop DLLs that the project references.  As part of the deployment process, how do I register the Active X control when it gets deployed to the target workstation
    LVL 96

    Expert Comment

    by:Bob Learned
    I don't use ClickOnce deployment, but it was my impression that one of its drawbacks was that it can't deal with registering ActiveX controls...
    LVL 83

    Accepted Solution

    The workaround i did for registering a COM component with an application deployed through ClickOnce was to use RegSvr32 on the startup of my application.

    Author Comment

    Actually, I found some info on this. It's called registration free com controls

    However, CodeCruiser, that's not a half bad idea, so I will aware the points.

    Author Closing Comment

    Not quite what I was looking for, but a good idea never the less.
    LVL 96

    Expert Comment

    by:Bob Learned
    Cool article--one for the knowledge base!!

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now