Book a Demo

Author Topic: Add-ins not working  (Read 3687 times)

Frank Wallace

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Add-ins not working
« on: August 11, 2012, 01:44:43 am »
Our company uses Sparx EA corporate edition on a Windows 7 computer and none of the Add-ins seem to work unless we run the EA program with Administrator privileges.  This is unacceptable to our security program.
The program (and the add-ins) was installed using Admin privileges and to work for "All users on this computer", and works fine, but the Add-ins (DODAF-MODAF, UPDM, etc) do not show when EA is run by any regular user.

Is there a work-around so a normal user can use the Add-ins without admin privileges?

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-ins not working
« Reply #1 on: August 16, 2012, 03:39:46 pm »
They must have done something wrong when installing the add-ins I guess.
Do they show up in the extension list in EA?
If they don't that means you have an issue with the registry key telling EA which add-ins are available.

A few versions ago you could only put those keys in the HKCU, which was something a problem when installing in corporate environments.
Nowadays you can also put that key in the HKLM.

So this is what I would do:
- Check if the add-ins indeed do not show up in the extensions manager in EA.
- Search the appropriate keys in HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins
- Copy those keys to HKEY_LOCAL_MACHINE\SOFTWARE\Sparx Systems\EAAddins
- Try again.

If on the other hand the add-ins show up in the extensions manager, but have an error like "error missing", then there must be a problem with either the COM registration of the dll's or the security privileges of the files themselves. (if they are placed somewhere where the user doesn't even has read rights...)

Geert

Frank Wallace

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Add-ins not working
« Reply #2 on: August 31, 2012, 12:59:12 am »
Geert,

It ALMOST worked...
The administrator exported their HKCU Sparx keys, tweaked their paths, then imported them into HKLM. I logged in, ran EA and nothing happened.

We then re-exported the Sparx key (logged in as Admin) then I logged in and imported the file (directly).  The keys now reside in my HKCU and all is good.

If someone else needs to use Sparx on my computer, they will need to run the .reg import also, but we'll cross that bridge when it happens.

Dank u wel!