Book a Demo

Author Topic: Add-In: difficult start  (Read 5409 times)

romu

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Add-In: difficult start
« on: December 23, 2010, 02:33:53 am »
Dear all,
Pretty new here.

I've just started an add-in project, written in C#, targetting .Net 2.0 and running on my Windows 7 64 PC.

I started from the CS_AddinFramework example, just changed some names, nothing more. It compiles well.

I tried to register it through VS, but also manually on both 32 & 64 .Net frameworks.

I also created the registry key in the LOCAL_MACHINE and CURRENT_USER hives.

And the problem is: I get absolutely nothing when I run EA. I thought this example should at least be visible in the add-ins window, but that's not the case. My breakpoint in EA_Connect is never reached.

One more information: my current user account has not the administration privileges.

Thanks for the help.

romu

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Add-In: difficult start
« Reply #1 on: December 23, 2010, 03:51:17 am »
Ok, I got it.

The problem came from the way I don't work with an administrative account. So, I had to :
- switch to the admin account,
- get my account SID
- add the elements under my account key

And it works.

But that's a bit tricky. So my question is: is there a way to register an add in for all users? (I tried to add the key in LOCAL_MACHINE and USERS\.DEFAULT and in both cases, it doesn't work).

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Add-In: difficult start
« Reply #2 on: December 23, 2010, 08:12:44 am »
Quote
But that's a bit tricky. So my question is: is there a way to register an add in for all users? (I tried to add the key in LOCAL_MACHINE and USERS\.DEFAULT and in both cases, it doesn't work).
Not in the current build.  We do have a change coming to allow add-in keys in LOCAL_MACHINE.

PS. I've looked at USERS\.DEFAULT before and I believe you have misinterpreted what it is for.

romu

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Add-In: difficult start
« Reply #3 on: December 23, 2010, 07:30:08 pm »
Thanks for your answer.

I didn't search, but after some brainstorming, I guess .DEFAULT it used when a new user account is created. That's not the case here.

Can you provide an estimation date for the release with the LOCAL_MACHINE change?

Thanks.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Add-In: difficult start
« Reply #4 on: December 24, 2010, 09:57:32 am »
Hi romu,
The change Simon M referred to is currently planned to be in the next major version of EA, but we can't provide any timeline for it's release as yet.
« Last Edit: December 29, 2010, 08:58:27 am by AaronB »

romu

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Add-In: difficult start
« Reply #5 on: December 24, 2010, 07:36:52 pm »
Ok, thanks and Merry Christmas.