Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started 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.
-
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
-
It was indeed .net 4 that was missing. Thank you very much. :D
-
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
-
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
-
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