Author Topic: Add-In Error "EANavigator missing"  (Read 4022 times)

olli_s

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Add-In Error "EANavigator missing"
« 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.

Paulus

  • EA User
  • **
  • Posts: 152
  • Karma: +0/-0
    • View Profile
Re: Add-In Error "EANavigator missing"
« Reply #1 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
« Last Edit: September 11, 2012, 01:05:50 am by pmaessen »

olli_s

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Add-In Error "EANavigator missing"
« Reply #2 on: September 11, 2012, 03:55:37 pm »
It was indeed .net 4 that was missing. Thank you very much. :D

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Add-In Error "EANavigator missing"
« Reply #3 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

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Re: Add-In Error "EANavigator missing"
« Reply #4 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
Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Add-In Error "EANavigator missing"
« Reply #5 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