Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: olli_s on September 10, 2012, 11:04:00 pm

Title: Add-In Error "EANavigator missing"
Post by: olli_s on September 10, 2012, 11:04:00 pm
Hi, I just installed EANavigator Version 2.2 as an Add-In to EA 9.3.935. The installation itself was a success but when I look at "Extensions->Manage Add-Ins.." I read "Error-Missing"  :-?. Any help would be welcome.
Title: Re: Add-In Error "EANavigator missing"
Post by: Paulus on September 11, 2012, 01:04:53 am
Make sure your system has the required components installed (.NET 4)

Also make sure that the add-in dll can be found in the location it was registered in windows. To do this:

- Check if the add-in is listed in the windows registry: there should be an entry for EA Navigator below HKEY_CURRENT_USER\Software\Sparx Systems\EAAddIn.
- If the entry is there, copy its value (in my case: TSF.UmlToolingFramework.EANavigator.EAAdd-in and search the registry for entries with this value. There should be a class entry that contains apart from this field several other keys. If you find it check if the EANavigator DLL is located where key codebase indicates.

regards,

Paulus
Title: Re: Add-In Error "EANavigator missing"
Post by: olli_s on September 11, 2012, 03:55:37 pm
It was indeed .net 4 that was missing. Thank you very much. :D
Title: Re: Add-In Error "EANavigator missing"
Post by: Geert Bellekens on September 11, 2012, 04:56:18 pm
Yes, sorry, I should have really added some kind of check in the installer for .Net 4, but I still have to figure out how to add that.

If anyone has already done such a thing in a Wix installer, please let me know.

Geert
Title: Re: Add-In Error "EANavigator missing"
Post by: Stefan Bolleininger on September 11, 2012, 05:10:26 pm
Hi Geert,

in our InnoSetup-installer we use the following:

function InitializeSetup(): Boolean;
begin
      Result := true;

  Result := RegKeyExists(HKLM,'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4');
  if Not Result then
  begin
    MsgBox( 'The Corscience Enterprise Architect Add-In requires Microsoft .NET Framework 4.0 Client Profile.'#13#13
            'Please use Windows Update to install this version, and then re-run this setup program.', mbError, MB_OK);
    Exit
  end

Greetings

Stefan
Title: Re: Add-In Error "EANavigator missing"
Post by: Geert Bellekens on September 11, 2012, 05:21:01 pm
Ok, thanks Stefan.
Checking for the existence of a reg key might indeed be easiest solution.

I was thinking about some kind of tool that automatically downloaded and installed .Net, I don't really find the time to implement that.

Adding the check for the reg key will probably be a lot quicker to implement.

Geert