Book a Demo

Author Topic: MSI Addin setup and debug  (Read 3411 times)

Sébastien Jahan

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
MSI Addin setup and debug
« on: July 27, 2011, 06:51:48 pm »
Hi everyone,

I'm trying to make a MSI file to install my addin for EA.
I followed several tutorials, including the one found here: http://community.sparxsystems.com/tutorials/tool-integration/deploy-your-enterprise-architect-c-add-msi-package

The trouble is that, for an unknown reason, i always finally get the same issue: the setup program ends with no troubles, but when i start EA, the addin appears in the state "Error/Missing" in the menu Addins>Manage Addins...

Is there a way to know what's missing to get it working?

Thank you by advance,

SJ.

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: MSI Addin setup and debug
« Reply #1 on: July 27, 2011, 07:36:48 pm »
This is a common question, it is possible that it is not your add-in that is missing, but another dll that your add-in is refering to.

Make sure that all dlls that your add-in uses are installed in the same folder as your addin dll.

Check that the Registry Entry for your add-in, is correct. It shiould refer to your add-in as

namespace.entryclass

There is a utility called Procmon which will help you track down the missing dll

Cheers

Phil
Models are great!
Correct models are even greater!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MSI Addin setup and debug
« Reply #2 on: July 27, 2011, 08:49:14 pm »
Sébastian,

I suggest you start with a basic hello-world example and and start adding stuff from that point on.
See MyAddin for a ready made example.

Geert