Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having some issues with registering a dll:

  1. run DOS as Administrator
  2. CD "C:\Program Files (x86)\Common Files\ArcGIS\bin\" (where the ESRIRegAsm.exe is)
  3. I attempt to register the dll as follows:

Syntax: ESRIRegAsm.exe assembly_name /p:product_name

ESRIRegAsm.exe "C:\Program Files (x86)\MyExtension\myextension.dll" /p:desktop

I get a warning raised by the registration utility that says: Specified path not found.

However, the path is positively correct.

What am I doing wrong?

share|improve this question
Awesome, thanks. Please re-enter your comment and enter as an answer so that i may mark it as answered. – Jakub Dec 3 '10 at 18:44
up vote 4 down vote accepted

If you change to the directory of the DLL that you need to register you should be able to type just the DLL name without having to worry about directory names with spaces.

So, in your case, cd to "C:\Program Files (x86)\MyExtension" and then run the following:

ESRIRegAsm myextension.dll /p:desktop
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.