Book a Demo

Author Topic: EA 12: possible to install Add-in without admin rights (no access to registry)?  (Read 7363 times)

Christian Freihoff

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
We are thinking about developing some add-in for Sparx EA. But due to some circumstances, we would like to be able to integrate the add-in into an aready installed instance of EA on a client which does not offer administrative access (e.g., registry can not be called or changed).

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
That will probably give you a hard time since the add-ins are registered. You could only go the outside way without registering. Means you have to call a tool from outside EA. Or maybe Geert's EA-Matic would be a way to go?

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
There is actually a way to install an add-in without admin rights.
As a regular user you still have access to the HKCU hive of the registry, and that can be enough.
I once started an add-in manager that did all that. Because of other priorities it never got finished, but the core worked.
See https://github.com/GeertBellekens/Enterprise-Architect-Toolpack/tree/master/EAAddinManager for more details

Geert

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Hello Christian,

There's nothing EA-specific about this question.
An EA Add-In is simply a DLL, which has to be registered.

So the question really is "how do I register a Windows DLL without admin rights?"
Like most questions of this nature, it's been asked several times over on Stack Overflow. You'll find some pointers here and here.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.