AddInSimple - Helmut-Ortmann/EnterpriseArchitect_hoTools GitHub Wiki

AddInSimple

A simple ready to use Add-In to show, learn how to develop and deploy your Add-In. Beside seeing a simple Add-In at work it show some running features:

Features

AddInSimple is part of hoTools and shows basic features to develop your Add-Ins with:

AddiÍnSimple is based on Geert Bellekens Tutorial Your First AddIn in 10 Minutes

Shape Script AddInSimple LINQ to SQL into EA Search Windows AddinSimple LINQPad to HTML

LINQPad

AddInSimple show you the following LINQPad features:

  • DemoRunLinqPadQueryToHtmlCsvText
    • Run LinqPad query with output HTLM (Requirement Types)
    • Reads the first table of HTML and output this in EA Model Search Window
    • Show HTML
    • Run LinqPad query with output csv
    • Show csv with your default csv application (usually Excel)
    • Run LinqPad query with output text
    • Show text with your default csv application (usually Excel)
  • DemoRunLinqPadAndShowEaContextInformation
    • LinqPad.GetArg(repository, mySearchString); collects EA context information
    • Run LinqPad and pass EA context to LinqPad query
    • Query may use the information
    • Output the results in EA Model Window

See also: Useful hoTools function

Deployment

Deployment is done with WIX Toolset. The WIX Setup project 'AddInSimple_Setup' generates a *.msi file.

The major files are:

Name Description
Collect\ Batch file to get the Component definitions of COM objects to include in Files.wxs
Script\ Script files to change the AddInSimple.msi filename to e.g. 'AddinSimple 1.0.7.msi'
Product.wxs The Product definition with version & more
Files.wxs The files to include
Directory.wxs The directories

Deployment Project

You may check if the COM objects / dll's are correctly registered with EA Installtion Inspector by:

Check installation witn EA Installation Inspector V2

Implementation

You find it as part of the open source software hoTools.

AddinSimple on GITHUB AddinSimple on GITHUB

See:

VS 2017

References

Books