At some point when you are developing add-ins, you may find that you want to install and run them on another computer, a process known as deployment. Visual Studio 2005 has a special project type called a Setup Project that allows you to do this. To enable your add-in to be deployed, you simply add a new setup project to your add-in's solution. The setup project, when compiled, creates a Windows installer (.msi) file which, when run on the target computer, installs the necessary files. For a Visual Studio 2005 add-in to run on a target system, it must have the add-in's compiled assembly file (.dll) and its supporting XML registration file (.addin), as well as any dependent assemblies, such as EnvDTE.dll and EnvDTE80.dll.
The following steps demonstrate how to add a setup project to your add-in and how to deploy it on a target computer.
You should see your add-in appear in the list of available add-ins, ready to be loaded.
Another alternative option you can employ that is new to Visual Studio 2005 is called ClickOnce Deployment. This new type of deployment method allows you to publish Windows-based applications to a web server or network file share. This is a good way to create a centralized installation point for an add-in if you have to deploy it to several computers on a network or to customers with web access who live in various locations around the world. For more information about ClickOnce and how to set up your projects to use it, see the following topic in Visual Studio 2005 Help: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/abab6d34-c3c2-45c1-a8b6-43c7d3131e7a.htm.
After you deploy an add-in as an .msi file on a remote system, you can remove it by going to Add/Remove Programs in the Control Panel and selecting it from the list of installed programs. To remove an add-in and its components from a local system, see the following Help topic:
How to: Deactivate and Remove an Add-in -- ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_extcore/html/5d9bc34f-ab3b-4477-950f-79fb820acb8c.htm
There are also a number of Help topics that more fully describe the available installer options, such as the properties you can use to create custom installation folders, how to deploy COM and Windows apps (and add-ins) on web sites, and so forth. For more information, see the following Help links in Visual Studio 2005:
Walkthrough: Deploying a Windows-based Application -- ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/02cbce50-6fc2-4b89-bc32-3720a7651087.htm
Files, Folders, and Deployment -- ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/92e6c2e4-3567-45b8-9ca9-4df5aded22e3.htm
Kemp Brown, programmer writer
출처 : http://blogs.msdn.com/jim_glass/archive/2005/08/18/453218.aspx
Visual Studio 단축키 (0) | 2011.11.17 |
---|---|
TechNote 1203 IDE의 코드 검사 기초 (0) | 2010.08.06 |
VS2008 IDE 커서 (0) | 2009.03.23 |
VS2008 SP1 Shell fix available (0) | 2009.03.23 |
Visual Studio Add-In 비 활성화 시키기 (0) | 2009.03.13 |