<?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: Error when installing toolbar in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730002#M19443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My experience with making msi installers is that almost always screwed up a step on my first try and then it was hopeless trying to find the error.&amp;nbsp; I would scrap the set up program and print out the instructions in that link you refer to and go through each step ticking them off.&amp;nbsp; 9 times out of 10 that works for me.&amp;nbsp; Also make sure that all the libraries referenced are on the target machines.&amp;nbsp; Some libraries are only installed with the extensions.&amp;nbsp; Usually the error message warns in the install that you are missing libraries but perhaps not in this case.&amp;nbsp; Also make sure the .net framework was on the machine before installing arcgis or else you will be missing the arcgis .net interop.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 13:01:14 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2012-02-09T13:01:14Z</dc:date>
    <item>
      <title>Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/729998#M19439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on a small toolbar for ArcGIS 9.2, Windows XP, using Visual Studio .NET 2005. I followed Esri's instructions for creating an installer: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://edndoc.esri.com/arcobjects/9.2/NET/0df20605-b457-42d6-b63c-341a3824474a.htm" rel="nofollow" target="_blank"&gt;http://edndoc.esri.com/arcobjects/9.2/NET/0df20605-b457-42d6-b63c-341a3824474a.htm&lt;/A&gt;&lt;SPAN&gt;. I can install the resulting .msi or .exe file on the workstation where the toolbar was developed, without being an admin. When I or our admin. tried to install it on other computers in the office, the install failed with an error code 2869. A web search ('install error 2869') returned mostly vague, unhelpful, and irrelevant results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else experienced this error when creating an installer, and how did you resolve it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 20:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/729998#M19439</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2012-02-08T20:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/729999#M19440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I remember coming across this problem when I was back on 9.2 a few years ago.&amp;nbsp; Sorry to say I can't remember the fix so don't have an exact solution but it is a matter of tweaking the setup and/or installer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My suggestion would be to ensure that the target machine has all of the same framework and ArcGIS service packs as the dev machine .NET version in particular.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will almost definitely need the Admin permissions to install so keep using those but I wouldn't take the fact that installs on the dev box as 100% proof that the installer MSI/EXE is setup correctly but is 95% likely to be working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 23:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/729999#M19440</guid>
      <dc:creator>HenryColgate</dc:creator>
      <dc:date>2012-02-08T23:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730000#M19441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looking under "Add or Remove Programs" on the development system and one I tried to install the toolbar on, the .NET 2.0 packages and patches were identical.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 12:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730000#M19441</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2012-02-09T12:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730001#M19442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Windows installer normally logs error in event viewer. You may have to check the event viewer to get more details on this issue. Also I forgot to mention that the installers always work on development machine as the tool bar is already stored in the registry. To test the installer you have completely get rid of the toolbar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 12:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730001#M19442</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-02-09T12:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730002#M19443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My experience with making msi installers is that almost always screwed up a step on my first try and then it was hopeless trying to find the error.&amp;nbsp; I would scrap the set up program and print out the instructions in that link you refer to and go through each step ticking them off.&amp;nbsp; 9 times out of 10 that works for me.&amp;nbsp; Also make sure that all the libraries referenced are on the target machines.&amp;nbsp; Some libraries are only installed with the extensions.&amp;nbsp; Usually the error message warns in the install that you are missing libraries but perhaps not in this case.&amp;nbsp; Also make sure the .net framework was on the machine before installing arcgis or else you will be missing the arcgis .net interop.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 13:01:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730002#M19443</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-02-09T13:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730003#M19444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My experience with making msi installers is that almost always screwed up a step on my first try and then it was hopeless trying to find the error.&amp;nbsp; I would scrap the set up program and print out the instructions in that link you refer to and go through each step ticking them off.&amp;nbsp; 9 times out of 10 that works for me.&amp;nbsp; Also make sure that all the libraries referenced are on the target machines.&amp;nbsp; Some libraries are only installed with the extensions.&amp;nbsp; Usually the error message warns in the install that you are missing libraries but perhaps not in this case.&amp;nbsp; Also make sure the .net framework was on the machine before installing arcgis or else you will be missing the arcgis .net interop.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The tools I created don't access any extensions, so I don't think that is an issue. Our systems are centrally managed, and the initial setup is done from a standard image. Is there a way I can verify that .NET &amp;amp; ArcGIS were installed in the right order?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed agray1's advice and created a new installer. One person's advice for dealing with install issues was to create a log file of the install with the command: msiexec /i "installer.msi" /lvx "log.txt". In the log file, the explanation of error 2869 is "The dialog ErrorDialog has the error style bit set, but is not an error dialog". My code does not contain an ErrorDialog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 13:35:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730003#M19444</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2012-02-09T13:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730004#M19445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you find any error in windows event viewer? Also verify if the esri .net assemblies are installed in C:\WINDOWS\assembly location.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 14:57:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730004#M19445</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-02-09T14:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730005#M19446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For 9.2, if you check in the install folder for a folder called "dotnet"&amp;nbsp; the interops should be in there.&amp;nbsp; Extension need not be used to be necessary, if you add a reference to them in the project, they are needed to deploy even if they are not used.&amp;nbsp; Also make sure the user running the installer has administrative privileges and has access to the registry.&amp;nbsp; You need full access to the registry to use an installer.&amp;nbsp; Based on the error, it looks like something is tripping up the installer, the installer is trying to report the problem and failing, this failure to report the problem is causing the error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730005#M19446</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-02-09T15:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730006#M19447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Upon further investigation, I discovered that my development computer had ArcGIS 9.2 SP6 installed, whereas the target computers would only be at SP5. This is due to a dependency with other custom software that isn't installed on the development computer. I've moved Visual Studio 2005 &amp;amp; my project to a computer configured the same as the target computers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This has introduced a new issue. Before the move, the tool I'm developing was working correctly. After the move, I rebuilt the project successfully, but now when testing the program fails at the line&lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Dim pWF as IWorkspaceFactory = New ShapefileWorkspaceFactory&lt;/PRE&gt;&lt;SPAN&gt;If I break that line down into two statements, it fails at&lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;pWF = New ShapefileWorkspaceFactory&lt;/PRE&gt;&lt;SPAN&gt;The error I'm getting in the Output Window is&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;A first chance exception of type "System.InvalidCastException" occurred in HEL_Tool.dll&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to resolve this error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 12:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730006#M19447</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2012-02-16T12:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error when installing toolbar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730007#M19448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In .NET you should not use New to create instances of singleton objects.&amp;nbsp; Use the Activator class as explained here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Interacting_with_singleton_objects/00010000043p000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Interacting_with_singleton_objects/00010000043p000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 12:39:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-installing-toolbar/m-p/730007#M19448</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-02-16T12:39:34Z</dc:date>
    </item>
  </channel>
</rss>

