Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: zalbina on September 27, 2012, 10:21:45 pm

Title: EA does not see add-ins
Post by: zalbina on September 27, 2012, 10:21:45 pm
This actually happened to me. I've created and registered my add in, but EA does not see it:(. I followed the Guru Geert example :).

Some advices?
Title: Re: EA does not see add-ins
Post by: Helmut Ortmann on September 27, 2012, 11:40:14 pm
Hello,

have you inserted the current registry entries for EA and your *.dll in the installation project?
If your source file has a new assembly version you have to update the registration of your DLL.

The typical questions are:
- EA registry entry for Addin
- DLL registry entries are up to date
- Errors during installation, administrator rights

Kind regards,

Helmut
Title: Re: EA does not see add-ins
Post by: Geert Bellekens on October 01, 2012, 04:50:43 pm
First thing to figure out is whether or not EA knows it has to load your add-in.
Check "Extensions|Manage add-ins..." to see if your add-in is listed there.

If it's not then its the reg key in (HKLM or HKCU)\SOFTWARE\Sparx Systems\EAAddins that is missing.

Geert
Title: Re: EA does not see add-ins
Post by: zalbina on October 03, 2012, 06:05:13 am
Yes, Geert. You are right, it's here in extension. Thanks a lot.
Title: Re: EA does not see add-ins
Post by: Balarama Raju on October 08, 2012, 12:25:04 pm
Hi,

Am also having this add-in for TOGAF missing in EA issue. Any detailed guidelines on  how to check and edit registry keys .

With regards,
Raju
Title: Re: EA does not see add-ins
Post by: KP on October 08, 2012, 01:13:47 pm
Quote
Hi,

Am also having this add-in for TOGAF missing in EA issue. Any detailed guidelines on  how to check and edit registry keys .

With regards,
Raju
The TOGAF installer should make all necessary changes to the registry. Make sure you have the required permissions and re-run the installer.
Title: Re: EA does not see add-ins
Post by: zalbina on October 11, 2012, 01:47:19 am
Now I've created another one dll and can see it in "Manage Add-Ins", but the Status of it is "Error - Missing". Where the problem could be?

Thanks.
Title: Re: EA does not see add-ins
Post by: Geert Bellekens on October 11, 2012, 06:02:51 pm
That means that you have created the registry key in the correct place, but you've failed to register the dll for COM, or the value in the reg key is wrong.

Geert
Title: Re: EA does not see add-ins
Post by: zalbina on October 11, 2012, 07:37:33 pm
But how could it be? I followed your instruction for MyAddin dll. For the first time it did work, but when I created a new project with same code I run in to this problem.
Title: Re: EA does not see add-ins
Post by: zalbina on October 11, 2012, 07:45:18 pm
It looks like the problem with register the dll for COM, but the Visual Studio 10 does it by itself, right?
Title: Re: EA does not see add-ins
Post by: Geert Bellekens on October 11, 2012, 08:15:45 pm
You still have to tell it to do so, and you have to run VS in admin mode.

Geert
Title: Re: EA does not see add-ins
Post by: zalbina on October 11, 2012, 08:41:45 pm
Thank you for your replay, Geert!

I run the VS in admin mode, but with registration I don't understand. The MyAddinClass work perfect, as soon as I've added other classes by the same way and I've regestered them MyAddin.ClassName it stoped to work. Why does MyAddinClass work? I'm trying to add EAAddinBase.cs and create SomeClass :EAAddinBase and it does not work also.

So, what is wrong?

Thanks.



Title: Re: EA does not see add-ins
Post by: Autoliv1 on November 08, 2012, 12:22:17 am
Quote
First thing to figure out is whether or not EA knows it has to load your add-in.
Check "Extensions|Manage add-ins..." to see if your add-in is listed there.

If it's not then its the reg key in (HKLM or HKCU)\SOFTWARE\Sparx Systems\EAAddins that is missing.

Geert

Hi Geert, Nick here. I am trying to install the DOORS EA Addin.

I ran the installation, then I got a floating licence from our licence server. But I still cannot see the Addin in the manage addin window.

Can you explain to a beginner how fix the 'reg key'
I dont see the folder 'EAAdins' on my Sparxsystems folder.

Nick
Title: Re: EA does not see add-ins
Post by: Geert Bellekens on November 08, 2012, 12:50:33 am
Hi Nick,

I'm afraid I can't help you with the Doors addin because I wouldn't know what to put as value in the registry key.
Best you contact the author of that addin (was that one by Sparx themselves?).

Geert
Title: Re: EA does not see add-ins
Post by: qwerty on November 08, 2012, 02:20:53 am
Maybe the basic EA license is wrong? No idea ehat is needed. Corporate or more?

q.
Title: Re: EA does not see add-ins
Post by: Autoliv1 on November 09, 2012, 08:52:51 pm
I have a corporate version of EA. I am trying to fing my customer id so i can ask for help.

There is nothing in the EA help to say how to tell EA where to look for its addins.

thanks for your posts!
Title: Re: EA does not see add-ins
Post by: qwerty on November 09, 2012, 09:02:15 pm
Quite a while ago I installed that addin. AFAIR the Extension/DOORS was available right after that. (I also use Corporate.)

What does the Extension/Manage Addins say?

q.
Title: Re: EA does not see add-ins
Post by: Autoliv1 on November 09, 2012, 09:13:43 pm
The Addin windoe says:
                 'There are no addins in this window'

The .dll is on my C drive in
C>Program filesx86> Sparx Systems>MDG Link>DOORS

File is called Doors Interface.dll
Title: Re: EA does not see add-ins
Post by: Geert Bellekens on November 09, 2012, 09:27:31 pm
Quote
I have a corporate version of EA. I am trying to fing my customer id so i can ask for help.

I wouldn't worry about that. Just send a bug report (http://www.sparxsystems.com/support/bug_report.html) or send an email to [email protected] and they will definitely help you.

Geert
Title: Re: EA does not see add-ins
Post by: Dan Tofan on November 21, 2012, 12:38:04 am
One thing that might troubleshoot add-ins issues is the following.

On Windows 7, 64bit, EA 9.3 reads the list of add-ins from the following location:
'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sparx Systems\EAAddins'

Your add-in must be something like:
'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sparx Systems\EAAddins\MyAddin' with 'MyAddin.MyAddinClass' added to the default value.

You can try replacing the MyAddin with your actual add-in values.

I hope this helps.