Solved

Install .Net Component

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

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

Suggested Solutions

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

758 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

17 Experts available now in Live!

Get 1:1 Help Now