<?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 Using NSIS to deploy Desktop extensions in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-nsis-to-deploy-desktop-extensions/m-p/515819#M13895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I'm just finally catching up and starting to upgrade my ArcDesktop applications to work with Arc10/10.1.&amp;nbsp; One of the exercises in doing this was to update the Deployment projects.&amp;nbsp; I have never been a big fan of the way Visual Studio does their deployment projects.&amp;nbsp; It seems to be a lot of work to get everything in place correctly.&amp;nbsp; I had wanted to use &lt;A href="http://nsis.sourceforge.net/"&gt;NSIS&lt;/A&gt; in the past.&amp;nbsp; But there didn't seem to be an easy way to do the RegAsm part as it's not installed on PCs unless the .NET SDK was installed.&amp;nbsp; The deployment projects in VS included libraries to do this registration without requiring RegAsm.&amp;nbsp; Now that with Arc10, ESRI uses their own esriRegAsm to register the extension DLLs, you know that if ArcDesktop is installed, so is this command.&amp;nbsp; In fact, all the InvokeEsriRegAsm project does is call the program with your extension DLL as an argument.&amp;nbsp; It wasn't too difficult to make an NSIS file that does this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;So, I figured I would share what I came up with in case anyone else is interested.&amp;nbsp; You can &lt;A href="http://billybuerger.com/pub/Arc10%20NSIS%20Sample.zip"&gt;download&lt;/A&gt; my sample project and use it as you like.&amp;nbsp; I created a page where I plan on documenting how it works and stuff.&amp;nbsp; Currently it's just a placeholder with the download link.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://billybuerger.com/pages/Arc10NSIS.php"&gt;Arc10 NSIS Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2012 18:18:25 GMT</pubDate>
    <dc:creator>BillyBuerger</dc:creator>
    <dc:date>2012-11-16T18:18:25Z</dc:date>
    <item>
      <title>Using NSIS to deploy Desktop extensions</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-nsis-to-deploy-desktop-extensions/m-p/515819#M13895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I'm just finally catching up and starting to upgrade my ArcDesktop applications to work with Arc10/10.1.&amp;nbsp; One of the exercises in doing this was to update the Deployment projects.&amp;nbsp; I have never been a big fan of the way Visual Studio does their deployment projects.&amp;nbsp; It seems to be a lot of work to get everything in place correctly.&amp;nbsp; I had wanted to use &lt;A href="http://nsis.sourceforge.net/"&gt;NSIS&lt;/A&gt; in the past.&amp;nbsp; But there didn't seem to be an easy way to do the RegAsm part as it's not installed on PCs unless the .NET SDK was installed.&amp;nbsp; The deployment projects in VS included libraries to do this registration without requiring RegAsm.&amp;nbsp; Now that with Arc10, ESRI uses their own esriRegAsm to register the extension DLLs, you know that if ArcDesktop is installed, so is this command.&amp;nbsp; In fact, all the InvokeEsriRegAsm project does is call the program with your extension DLL as an argument.&amp;nbsp; It wasn't too difficult to make an NSIS file that does this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;So, I figured I would share what I came up with in case anyone else is interested.&amp;nbsp; You can &lt;A href="http://billybuerger.com/pub/Arc10%20NSIS%20Sample.zip"&gt;download&lt;/A&gt; my sample project and use it as you like.&amp;nbsp; I created a page where I plan on documenting how it works and stuff.&amp;nbsp; Currently it's just a placeholder with the download link.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://billybuerger.com/pages/Arc10NSIS.php"&gt;Arc10 NSIS Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 18:18:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-nsis-to-deploy-desktop-extensions/m-p/515819#M13895</guid>
      <dc:creator>BillyBuerger</dc:creator>
      <dc:date>2012-11-16T18:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using NSIS to deploy Desktop extensions</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-nsis-to-deploy-desktop-extensions/m-p/515820#M13896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Super!!! I plan on doing the same but only with Inno Setup as I've used that for like 10 years and am very familiar with it. I'll come back and take a look at your sample to use as a guide.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 20:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-nsis-to-deploy-desktop-extensions/m-p/515820#M13896</guid>
      <dc:creator>AbelPerez</dc:creator>
      <dc:date>2012-11-16T20:19:19Z</dc:date>
    </item>
  </channel>
</rss>

