We have an ArcGIS Pro Addin that we deploy to all end user systems via the AddinFolder registery key.
As explained by @Wolf in this post, the process that a ProAddin follows when using this mechanism for Addin deployment is:
What's not stated is that this also works for distributing updates. Somewhere behind the scenes, there is probably some checksum wizardry going on to see if the files in the assembly cache match the files in well-known addinFolder to determine if it needs to unzip the remote addin again. Also, if you delete an addin file from the remote folder, it gets removed from the local assembly cache.
All of this is great and it works pretty smoothly, but we'd like to not be required to use a publicly accessible shared drive. We already keep all of the source for our addins in a Git repo wth releases for each new update of the addin.
Is there any way to set up a Pro Addin to download the esriAddin file from a Git repo, and always check for new releases from that repo?
Solved! Go to Solution.
Pro Addins cannot be automatically downloaded from a Github repo release. You can however use the GitHub Rest API to write your own extension to your add-in to perform this task. Using the GitHub Rest API (i.e. https://github.com/octokit/octokit.net ) your add-in can check and download the latest release and update itself in any local well-known folder.
Pro Addins cannot be automatically downloaded from a Github repo release. You can however use the GitHub Rest API to write your own extension to your add-in to perform this task. Using the GitHub Rest API (i.e. https://github.com/octokit/octokit.net ) your add-in can check and download the latest release and update itself in any local well-known folder.