{"id":32,"date":"2010-12-15T11:25:39","date_gmt":"2010-12-15T19:25:39","guid":{"rendered":"http:\/\/gis.qtools.com\/blog\/"},"modified":"2016-04-11T12:17:30","modified_gmt":"2016-04-11T19:17:30","slug":"part-7-deploying-the-add-in","status":"publish","type":"page","link":"https:\/\/gis.qtools.com\/blog\/tutorials\/vba-to-c-add-in\/part-7-deploying-the-add-in\/","title":{"rendered":"Part 7: Deploying the Add-in"},"content":{"rendered":"<p><strong>Tutorial Navigation<\/strong> | Previous: <a href=\"..\/part-6-converting-vba-arcobjects-to-cs\/\">Part 6: Converting VBA ArcObjects to CS<\/a><\/p>\n<p>Now that you have converted your ArcMap VBA utility to an Add-In, you don&#8217;t have to do anything else to use it on your own system. It will be available in ArcMap even when not running from a Visual Studio debug session because the build process copied the Add-In to the folder where ArcGIS expects Add-Ins.<\/p>\n<h1>Resources<\/h1>\n<h3>Files<\/h3>\n<p><a href=\"\/\/gis.qtools.com\/tutorials\/vba_to_cs\/data\/VBA_to_CS_Tutorial.esriAddIn\">VBA_to_CS_Tutorial.esriAddIn<\/a> (23 KB) (digitally signed Add-In)<\/p>\n<h3>Video Demonstrations<\/h3>\n<p>The following videos are also linked from the relevant sections below. (opens in a new browser window or tab)<\/p>\n<p><a href=\"\/\/gis.qtools.com\/tutorials\/vba_to_cs\/video\/ArcMap_Install_Addin.swf.html\" target=\"_blank\">Install Add-In into ArcMap<\/a> (duration 0:38)<\/p>\n<h1>Managing Add-Ins<\/h1>\n<p>Add-Ins can be viewed, added and deleted with the <em>Add-In Manager<\/em>, launched from the <em>Customize<\/em> menu: <\/p>\n<p><img decoding=\"async\" src=\"\/\/gis.qtools.com\/tutorials\/vba_to_cs\/images\/ArcGIS10_AddIn_Manager.png\" \/><\/p>\n<p>To remove an Add-In, you should use the <em>Add-In Manager<\/em>. It is also possible to simply delete the Add-In file and its containing AddInID folder. <\/p>\n<p>Version 10.0 Add-Ins are stored (and discovered) by default in a local user folder:<\/p>\n<p>Windows Vista\/7:<br \/>\nC:\\Users\\&lt;user&gt;\\Documents\\ArcGIS\\AddIns\\Desktop10.0\\{&lt;AddInID&gt;}\\addin_name.esriaddin <\/p>\n<p>Windows XP:<br \/>\nC:\\Documents and Settings\\&lt;user&gt;\\My Documents\\ArcGIS\\AddIns\\Desktop10.0\\{&lt;AddInID&gt;}\\addin_name.esriaddin<\/p>\n<p>It is also possible to add additional folder locations, both local and network, on the <em>Options<\/em> tab page of the <em>Add-In Manager<\/em>. This is typically used to share Add-Ins on a network.<\/p>\n<p>Note: The AddInID folder is not required, but is created by the <em>Add-In Manager<\/em> to prevent naming conflicts.<\/p>\n<h1>Installing Add-Ins<\/h1>\n<p><b>Video Demonstation:<\/b> <a href=\"\/\/gis.qtools.com\/tutorials\/vba_to_cs\/video\/ArcMap_Install_Addin.swf.html\" target=\"_blank\">Install Add-In into ArcMap<\/a> (duration 0:38)<\/p>\n<p>If you want to make your Add-In available to other ArcMap users, it is quite easy since Add-Ins use a simple single file deployment model. The <em>addin_name.esriaddin<\/em> file contains everything needed for the Add-In.<\/p>\n<p>There are four methods to install an Add-In. The first three use the <em>Add-In Installation Utility<\/em>:<\/p>\n<ol>\n<li>Run the <em>addin_name.esriaddin<\/em> file itself.<br \/>-or-<\/li>\n<li>Launch the <em>Add-In Manager<\/em>, click the <em>Customize<\/em> button, click the <em>Add from file<\/em> button, and select the <em>addin_name.esriaddin<\/em> file.<br \/>-or-<\/li>\n<li>Select the <em>Customize Mode<\/em> item on the <em>Customize<\/em> menu, click the <em>Add from file<\/em> button, and select the <em>addin_name.esriaddin<\/em> file.<\/li>\n<\/ol>\n<p>These methods will launch the <em>Add-In Installation Utility<\/em>:<\/p>\n<p><img decoding=\"async\" src=\"\/\/gis.qtools.com\/tutorials\/vba_to_cs\/images\/ArcGIS10_AddIn_Install_Utility.png\" \/><\/p>\n<p>When installed using the <em>Add-In Installation Utility<\/em>, the Add-In file will be copied to the default Add-In folder.<\/p>\n<p>The fourth method is to simply copy the <em>addin_name.esriaddin<\/em> file to the default Add-In folder or one of the additional optional locations. When using this method, ArcMap may need to be restarted if it is already running in order for the Add-In to be discovered.<\/p>\n<p>Add-Ins installed to locations other than the default folder are considered shared and can not be deleted from the <em>Add-In Manager<\/em>. <\/p>\n<p><strong>Tutorial Navigation<\/strong> | Previous: <a href=\"..\/part-6-converting-vba-arcobjects-to-cs\/\">Part 6: Converting VBA ArcObjects to CS<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tutorial Navigation | Previous: Part 6: Converting VBA ArcObjects to CS Now that you have converted your ArcMap VBA utility to an Add-In, you don&#8217;t have to do anything else to use it on your own system. It will be available in ArcMap even when not running from a Visual Studio debug session because the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":8,"menu_order":7,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-32","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/pages\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":3,"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/pages\/32\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/pages\/32\/revisions\/91"}],"up":[{"embeddable":true,"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/pages\/8"}],"wp:attachment":[{"href":"https:\/\/gis.qtools.com\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}