Book a Demo

Author Topic: Deployment of add-ins, managed?  (Read 4839 times)

ocroquette

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Deployment of add-ins, managed?
« on: July 04, 2007, 11:09:39 pm »
Hi!

I was wondering how you guys are deploying your plug-ins. The EA documentation describes the manual procedure, using regedit, but while that's OK for development purpose, I can't imagine that it's the optimal way to deploy them on the users PC.

So how do you do it?

I am just thinking too that EA could support the concept of plugins, that you could install and deinstall within EA, without having to resort to regedit and other deprecated techniques...

thomaskilian

  • Guest
Re: Deployment of add-ins, managed?
« Reply #1 on: July 05, 2007, 05:40:05 am »
What would be the problem with the registry? I mean: this is Windoze :-X

Eric Johannsen

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-0
  • Model Driven Business[ch0174]
    • View Profile
Re: Deployment of add-ins, managed?
« Reply #2 on: July 06, 2007, 01:35:54 am »
I created a "framework" just once in C# that knows how to interact with the COM layer in EA.  That framework uses file monitoring and reflection to load any .NET DLL's that I drop into a specific directory.  That way, once the framework is built and installed, any additional DLLs that I create (in C# or another .NET language) can be deployed via a simple file copy.

The framework itself is installed with a normal setup project in Visual Studio 2005.  It manages the COM registration for me (creates a .msi file that the user runs, which registers the framework for COM interop).

Eric

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Deployment of add-ins, managed?
« Reply #3 on: July 06, 2007, 02:25:59 am »
Hi Eric,

Care to share it on the EA Users' Wiki?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Jeff Odell

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Deployment of add-ins, managed?
« Reply #4 on: July 17, 2007, 02:10:59 pm »
I used a regular Visual Studio 2005 Setup project.  You have to create the registry entry as well as make sure the assembly is marked to register as a COM object in the setup project.