Solved

Install .Net Component

Posted on 2004-04-23
4
222 Views
Last Modified: 2010-04-15
I developed a Windows Control Library in C#. I compiled it to dll. I can add the component manually to the toolbox in VS .NET IDE. My question is :

Is it possible to automate the process by mean of writing some installation script ?

Thanks.
0
Comment
Question by:MyQ2004
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 10897478
0
 

Author Comment

by:MyQ2004
ID: 10897782
My component isn't a COM component. It is a .NEt component can be hosted on windows form.
0
 
LVL 9

Accepted Solution

by:
Joeisanerd earned 125 total points
ID: 10899567
If you sign you component and have it install to the GAC it will be available for people to install, but if you don't want to sign it and put it in the GAC you do this.

add a registry key to the following in your install
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\7.1\AssemblyFolders\Joeisanerd .NET Controls

and add a default value of "[ProgramFilesFolder]Joeisanerd\VS .NET Controls"

Replace the Joeisanerd .NET Controls with your own group name
The default value specified above needs to point to the directory where your component gets installed to.

After install the user can add you component to the toolbox via the Add/Remove buttons.
0
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 10901121
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

739 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