Book a Demo

Author Topic: Add-In not being picked up by EA 15.2  (Read 2943 times)

tofflos

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Add-In not being picked up by EA 15.2
« on: April 26, 2021, 05:50:51 pm »
Fledgling Add-In author here.

I've read some of the previous posts on this topic and I've gotten the impression that my Add-In should appear under Specialize -> Manage Addin as soon as the appropriate registry entries are present.

These are my registry entries:

Code: [Select]
[HKEY_CURRENT_USER\Software\Sparx Systems]

[HKEY_CURRENT_USER\Software\Sparx Systems\EAAddIns]
@="MyAddin.MyAddinClass"

[HKEY_CLASSES_ROOT\MyAddin.MyAddinClass]
@="MyAddin.MyAddinClass"

[HKEY_CLASSES_ROOT\MyAddin.MyAddinClass\CLSID]
@="{10BC65F1-32C0-3ED4-98A0-17661A8C4455}"

Unfortunately my Add-In doesn't show up with these entries. I've noticed that the pre-existing entries don't match up with current documenation and existing tutorials. Instead of having an entry named EA I have an entry named EA400:

Code: [Select]
[HKEY_CURRENT_USER\Software\Sparx Systems\EA400]

[HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA]
"Version"="15.2.1557"
"Typlib Version"="2.10"
"Install Path"="C:\\Program Files (x86)\\Sparx Systems\\EA"
"LastRegLevel"=dword:00000002
"InitLayout"=dword:00000615
"LastUIReset"=dword:00000029
"VersionEx"="15.2.1557"
"PatchLevel"=dword:00000064

...


Have I named my registry entries incorrectly or should I somehow adjust the naming of my entries in order to align with how pre-existing entries are named?

Thanks in advance!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Add-In not being picked up by EA 15.2
« Reply #1 on: April 26, 2021, 06:08:58 pm »
You should add a new key for each of your add-ins

I always install on the local machine, but you should be able to do the same on current user as well.

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Sparx Systems\EAAddins\EA JSON]
@="EAJSON.EAJSONAddin"

Geert

tofflos

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Add-In not being picked up by EA 15.2
« Reply #2 on: April 26, 2021, 08:57:49 pm »
Thank you! This worked immediately. :)