Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Install .Net Component

Posted on 2004-04-23
4
Medium Priority
?
226 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 375 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

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
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…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

972 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