Select to view content in your preferred language

ArcGIS Engine 10.0 Controls Example / Custom Tool registration

921
2
Jump to solution
02-13-2012 10:19 AM
GlennNead
Deactivated User
Greetings!

I am going through the ArcGIS Engine Controls example (C# version) in the ESRI Resource Center.  All goes well until I attempt to build the Commands project, a custom tool.  It attempts to write to the registry  which fails due to lack of admin privileges.  I thought with Version 10 you didn't need registry access.  Is that true only for desktop add-ins?  How/where does ESRIRegAsm come into play?  Is ESRIRegAsm a custom tool that still accesses the windows registry?

Edit:  Running with Windows XP SP3, Visual Studio 2010 set to framework 3.5.

Thanks in advance!

           -- Glenn
0 Kudos
1 Solution

Accepted Solutions
AlexanderGray
Honored Contributor
Add-ins only don't use registry.  ESRIRegAsm still does.  ESRIRegAsm does the same things as regasm plus other things like registering the version and the product.

View solution in original post

0 Kudos
2 Replies
AlexanderGray
Honored Contributor
Add-ins only don't use registry.  ESRIRegAsm still does.  ESRIRegAsm does the same things as regasm plus other things like registering the version and the product.
0 Kudos
GlennNead
Deactivated User
I was afraid of that, but thought I'd ask anyway.  Now to convince the powers-that-be for admin privileges if I need to add tools.

Thanks for the prompt reply!

            -- Glenn
0 Kudos