How to register DLL COM with clickonce as administrator?

Posted on 2007-08-02
Last Modified: 2013-11-07
Hi experts,

i have a dll : redemption (com)

i used this dll in my .net application and use CLickonce to deploy
but i have to register the dll each time i deploy on new machine

is there an option for the redemption reference to register as admin itself with clickonce?

Question by:Dnx_7
    LVL 10

    Accepted Solution

    Expand the References node in the Solution Explorer window. Select the dll (Com Component) item under the References node and set the Isolated property to True in the Properties window. Rebuilt the solution

    For testing, try unregistering the COM component (for example, type regsvr32 /u xxx.dll from a command prompt) and then running the program outside of the Visual Studio IDE. It should work.

    If you unregistered your COM component, you should reregister it again before moving on, or you will not be able to rebuild your application within Visual Studio 2005.

    Visual Studio 2005 introduces a new feature that allows you to isolate any given COM component with the simple flip of a switch. It works by automatically generating a manifest from the component's type library and component registration. Therefore, it is important to note that isolating a COM component requires that it be registered on the developer's machine. The requirement to register the component on end-user machines is removed.

    LVL 2

    Author Comment

    Great thank you, it works very good

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    755 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

    24 Experts available now in Live!

    Get 1:1 Help Now