Solved

Install .Net Component

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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