Home - Helmut-Ortmann/EnterpriseArchitect_hoAddinTemplate GitHub Wiki
hoAddinTemplate
Template for EA Addins with GUI written in C#. The features are:
- Add-In with GUI
- Add-In Tab
- Add-In Window
- Settings in *.json
- WIX installer for admin and non admin install
- Single Package authoring
- per user install
- per machine install
- GUI to install
- Build *.msi with product number
- Single Package authoring
See: Install Add-In without Admin privileges
My environemt:
-
Windows
-
VS 2017 community as IDE
-
WIX 3.11 for installer package
If you have ideas, requests or advice feel free to contact me or participate.
Best regards,
Helmut
Make your Addin
- Open in Visual Studio
- Update References
- interop.EA.dll
- Newtonsoft.Json (Package Manager)
- WixUIExtension (hoAddinTemplateSetup to c:\Program Files (x86)\WiX Toolset v3.11\bin\WixUIExtension.dll, my installation)
- Project properties: hoAddinTemplateRoot, Debug, Start external program=C:\Program Files (x86)\Sparx Systems\EA\EA.exe, my installation)
- Create Entry in registry for Addin 'hoAddinTemplate'
- Key: HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins\hoAddinTemplate
- Value: (Default) hoAddinTemplate.Root
- Build and test as release and debug
- Install from: hoAddinTemplateSetup\bin\Release\en-us\hoAddinTemplate.msi
- Advanced, per user Install, to install without admin rights!
References
- Install Add-In without Admin privileges
- Exploring EA, Non-admin installation of AddIns
- Microsoft: Single Package Authoring
- WIX: GUI for per-user and per-machine installation
- Tutorial, Geert Bellekens: Addin in 10 Minutes
- EA Forum: Distributing Add-Ins with no admin privileges
- WIX
- DLL registration by yourself
- DLL registration by code
- Microsoft Component Object Model, COM
- Sparx Tricks and Traps