<?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: esriregasm.exe not always installed in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698819#M18721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&amp;nbsp; I am aware of the location to find the file.&amp;nbsp; There-in lies the problem - the files are not installed anywhere. I re-installed at least seven times on a Windows 7 machine to see if I could track down the cause of the missing ESRIregAsm.exe and associated files.&amp;nbsp; No luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a summary of my installs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 of the times I selected "Run As Administrator" from the setup.exe under the desktop folder and it worked. ESRIRegASm.exe file and associated files were installed in the Common Files path. (I wanted to prove that this would work each time so I uninstalled again). Unfortunately it did not work any other time I tried the same scenario.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 of the times I selected "Run As Administrator" from the setup.exe under the desktop folder it did not work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 of the times I ran directly from the MSI and it did not work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 of the times I tried to install from the splash screen and it did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 of the times I selected "Run As Administrator" on the main setup.exe and it did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not know what circumstances made the difference for the 1 time it worked.&amp;nbsp; I have not had this problem on other machines yet.&amp;nbsp; I am going to try a couple other things to see if I can't talk it into working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Aug 2010 23:27:43 GMT</pubDate>
    <dc:creator>BruceCheney</dc:creator>
    <dc:date>2010-08-03T23:27:43Z</dc:date>
    <item>
      <title>esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698816#M18718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Forgive me if this is obvious to many of you but I could not find it definitively anywhere.&amp;nbsp; It appears that ESRIregasm.exe is not always installed with ArcGIS - maybe I am missing something.&amp;nbsp; Does this mean we need to redistribute this file in order to get our custom .net programs to register properly with ArcGIS 10?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 14:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698816#M18718</guid>
      <dc:creator>BruceCheney</dc:creator>
      <dc:date>2010-07-30T14:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698817#M18719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Surely someone has the answer to this?&amp;nbsp; With so many developers updating to ArcGIS 10 already?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 15:56:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698817#M18719</guid>
      <dc:creator>BruceCheney</dc:creator>
      <dc:date>2010-08-02T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698818#M18720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;EsriRegasm.exe should be installed in the common program files folder; e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files\Common Files\ArcGIS\bin on a 32-bit OS. If it is 64-bit, look under "Program Files (x86)\Common Files\ArcGIS\bin".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 16:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698818#M18720</guid>
      <dc:creator>EagerIp</dc:creator>
      <dc:date>2010-08-03T16:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698819#M18721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&amp;nbsp; I am aware of the location to find the file.&amp;nbsp; There-in lies the problem - the files are not installed anywhere. I re-installed at least seven times on a Windows 7 machine to see if I could track down the cause of the missing ESRIregAsm.exe and associated files.&amp;nbsp; No luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a summary of my installs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 of the times I selected "Run As Administrator" from the setup.exe under the desktop folder and it worked. ESRIRegASm.exe file and associated files were installed in the Common Files path. (I wanted to prove that this would work each time so I uninstalled again). Unfortunately it did not work any other time I tried the same scenario.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 of the times I selected "Run As Administrator" from the setup.exe under the desktop folder it did not work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 of the times I ran directly from the MSI and it did not work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 of the times I tried to install from the splash screen and it did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 of the times I selected "Run As Administrator" on the main setup.exe and it did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not know what circumstances made the difference for the 1 time it worked.&amp;nbsp; I have not had this problem on other machines yet.&amp;nbsp; I am going to try a couple other things to see if I can't talk it into working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 23:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698819#M18721</guid>
      <dc:creator>BruceCheney</dc:creator>
      <dc:date>2010-08-03T23:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698820#M18722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you see other Esri files in the common file location folder I mentioned? There should be a number of files shared among ArcGIS 10 products. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing I can think of to try is to manually clean up the registry keys related to ArcGIS product installs after uninstalling. Anyways, it sounds like an &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/7-ArcGIS-Desktop-Installation-Configuration"&gt;install/setup&lt;/A&gt;&lt;SPAN&gt; issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 19:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698820#M18722</guid>
      <dc:creator>EagerIp</dc:creator>
      <dc:date>2010-08-06T19:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698821#M18723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ESRI, did you know that your .NET development samples do not work on 64 bit machines?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They do not work because the project file (e.g. csproj) references ESRIRegAsm in the wrong location.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Aug 2010 10:28:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698821#M18723</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2010-08-07T10:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698822#M18724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ESRI, did you know that your .NET development samples do not work on 64 bit machines?&lt;BR /&gt;&lt;BR /&gt;They do not work because the project file (e.g. csproj) references ESRIRegAsm in the wrong location.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you let us know which samples are not working? I just did a random sampling on the ToolAndControlControl sample project came with the ArcObjects .NET SDK; it compiles fine in Visual Studio 2008 on a Win7 64-bit machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample projects' registration step calling esriRegasm.exe should be using the $(CommonProgramFiles) MSBuild environment variable running inside Visual Studio, which should point to the x86 folder since Visual Studio is a 32-bit application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 18:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698822#M18724</guid>
      <dc:creator>EagerIp</dc:creator>
      <dc:date>2010-08-09T18:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698823#M18725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I run the "set" command from a DOS window to show the environment variables on a 64 bit machine, this is a subset of what I see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CommonProgramFiles=C:\Program Files\Common Files&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that ESRIRegAsm is not in CommonProgramFiles but rather CommonProgramFiles(x86).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case it matters, the version of Visual Studio that I am using is 2010.&amp;nbsp; Perhaps that is the issue because 2010 uses MSBUILD?&amp;nbsp; Does 2010 on a 64 bit OS work for you?&amp;nbsp; What does it say when you run set" from the command line?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:11:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698823#M18725</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2010-08-10T11:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698824#M18726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When I run the "set" command from a DOS window to show the environment variables on a 64 bit machine, this is a subset of what I see:&lt;BR /&gt;&lt;BR /&gt;CommonProgramFiles=C:\Program Files\Common Files&lt;BR /&gt;CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files&lt;BR /&gt;&lt;BR /&gt;The problem is that ESRIRegAsm is not in CommonProgramFiles but rather CommonProgramFiles(x86).&lt;BR /&gt;&lt;BR /&gt;In case it matters, the version of Visual Studio that I am using is 2010.&amp;nbsp; Perhaps that is the issue because 2010 uses MSBUILD?&amp;nbsp; Does 2010 on a 64 bit OS work for you?&amp;nbsp; What does it say when you run set" from the command line?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are correct that esriRegasm.exe lives in the x86 folder but the environment variable set in a regular command prompt is different than MSBuild running inside Visual Studio.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both Visual Studio 2008 and 2010 uses MSBuild to compile C#/VB.NET projects (VC++ projects switch over to MSBuild at 2010). All versions of Visual Studio are 32-bit applications and the $(CommonProgramFiles) environment variable with MSBuild running inside by default points to the x86 folder. You can verify this by putting these lines in the post/pre-build event &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;echo $(CommonProgramFiles)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo $(ProgramFiles)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And observe the results in the Output window&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; C:\Program Files (x86)\Common Files&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; C:\Program Files (x86)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As long as the samples are compiled in Visual Studio, it should know where to find esriRegasm.exe. If you are running a batch script outside the Visual Studio/MSBuild environment, then you have to be careful to look for the x86 folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 17:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698824#M18726</guid>
      <dc:creator>EagerIp</dc:creator>
      <dc:date>2010-08-10T17:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698825#M18727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response.&amp;nbsp; It does help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously, I was wrong.&amp;nbsp; The problem was occurring for a coworker.&amp;nbsp; When he moved to a 64 bit machine, ESRIRegAsm was failing.&amp;nbsp; I looked at the environment variables and incorrectly jumped to the conclusion that this was the heart of the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason, it started working after we created the symbolic link.&amp;nbsp; In hindsight, the link was not necessary and the illusive problem was elsewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 12:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698825#M18727</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2010-08-12T12:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: esriregasm.exe not always installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698826#M18728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My previous statement was not correct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Aug 2010 09:33:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esriregasm-exe-not-always-installed/m-p/698826#M18728</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2010-08-28T09:33:59Z</dc:date>
    </item>
  </channel>
</rss>

