<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python Add-In - Deployment in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186974#M14376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca. Your document is very helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Mar 2018 21:58:19 GMT</pubDate>
    <dc:creator>ChrisHolmes</dc:creator>
    <dc:date>2018-03-17T21:58:19Z</dc:date>
    <item>
      <title>Python Add-In - Deployment</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186970#M14372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I know that I can drag files into the "Install" folder for an add-in and those files will be packaged with the add-in (and I assume installed locally). What I'm wondering is if I drag a python toolbox (that has a few models and a number of script tools) into the install folder. The scripts that the script tools link to are located on the network.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to have the scripts also in the "Install" folder so that all models/scripts will run locally? It's quite possible that I am confused around this topic and where different things are executing.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/399165_Untitled.png" style="width: 620px; height: 426px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2018 03:52:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186970#M14372</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2018-03-17T03:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In - Deployment</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186971#M14373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you drag the toolbox over, I see no way that the associated scripts will also.&amp;nbsp; A toolbox with an embedded script would.&amp;nbsp; I normally store the tool box and associated scripts in the same folder (or the scripts in a Scripts folder within that folder) and ensure that each script tools is set to be 'relative' to the location of the toolbox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2018 09:39:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186971#M14373</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-17T09:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In - Deployment</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186972#M14374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Dan. ‘Relative’ would then have the script in the same location as the toolbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2018 12:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186972#M14374</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2018-03-17T12:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In - Deployment</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186973#M14375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Dan that relative works better. &amp;nbsp;FWIW, I was running into an issue in 10.5.x (wasn't an issue in 10.2.x) where using a network UNC/share-name would stick the local drive letter in front of the path so it wouldn't be found&amp;nbsp;anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are talking about an actual addin (i.e. Starting with the wizard to setup the addin) I know once you have the addin installed, you can usually copy the folder with the &amp;lt;ID&amp;gt; to a new machine and it will find everything, if that helps. &amp;nbsp;I was having issues with the .addin file installing in 10.5.1 by just double clicking, but just fully upgrading from 10.3.1 right now, so I just may not have figured out the trick. &amp;nbsp;Addins like these do not work in Pro, but you can usually go to the toolbox and make it work. &amp;nbsp;I also have not included models in my addins, however, in case it helps, I do have a doc that contains some times for Python addins&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/74093-tip-python-addins-getting-custom-toolstoolbox-to-work-gptooldialog-error-and-other-tips-822017"&gt;https://community.esri.com/thread/74093-tip-python-addins-getting-custom-toolstoolbox-to-work-gptooldialog-error-and-other-tips-822017&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It started out as a worksaround and info about that error &amp;nbsp;but I have a few other tips I have discovered. &amp;nbsp;Fwiw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2018 20:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186973#M14375</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2018-03-17T20:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In - Deployment</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186974#M14376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca. Your document is very helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2018 21:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186974#M14376</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2018-03-17T21:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In - Deployment</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186975#M14377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick question, is it fine to change the addin version number just by editing it in the config.xml file rather than opening up the wizard and doing it there? thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 12:44:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186975#M14377</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2018-03-19T12:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In - Deployment</title>
      <link>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186976#M14378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never run the wizard once I have stubbed it out.&amp;nbsp; The rest I do in code. So, I would say yes.&amp;nbsp; But I do have to run the makeaddin.py again it I want it to bundle the addin into a .addin file for distribution.&amp;nbsp; The .addin file is really just a .zip file, so you could in theory rename the .addin to zip, edit the file, and rename. But rremember,&amp;nbsp;&lt;SPAN&gt;it will be out of sync if you haven't edited the source config.xml and then run the makeaddin.py again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Important&lt;/STRONG&gt;: always keep a backup before doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have actually tried to keep my versions as 10.2.x because it seems that I had other versioning errors.&amp;nbsp; But that may have been just me and maybe I caused it by doing something else. Hard to know for sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 16:33:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-add-in-deployment/m-p/186976#M14378</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2018-03-19T16:33:53Z</dc:date>
    </item>
  </channel>
</rss>

