Solved

Install .Net Component

Posted on 2004-04-23
4
218 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linq Help 1 35
Please explain "Multi-Tenant Services" 5 65
C# application error "Parameter Is Not Valid". 3 80
C#  Radio button search for Date not DateTime 4 35
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

28 Experts available now in Live!

Get 1:1 Help Now