Author Topic: HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins  (Read 7100 times)

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins
« on: September 27, 2012, 09:09:07 pm »
Hello,

I've created my own Add In and would like to register it, but I did not found the directory HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins. The actually EAAddins does not exist, rest of it on the right place.

I'm waiting for your responses and help.

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
Re: HKEY_CURRENT_USER\Software\Sparx Systems\EAAdd
« Reply #1 on: September 27, 2012, 09:36:30 pm »
I've got the idea and created EAAddin key by myself, but when I'm trying to register my C# dll within VS 10, I've got the message: "access denied. Please, make sure you're running the application as administrator."

What should I check?

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
Re: HKEY_CURRENT_USER\Software\Sparx Systems\EAAdd
« Reply #2 on: September 27, 2012, 10:06:16 pm »
OK. I've solved this problem also, but the EA does not see my Add-In any way :(. Right click does not bring the Add-In sub menu.

bctm

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: HKEY_CURRENT_USER\Software\Sparx Systems\EAAdd
« Reply #3 on: September 28, 2012, 12:34:00 am »
Do you see your AddIn unter "Add-Ins -> Manage Add-Ins" (might have another name in EA9)?

Do you start it via debugger out of Visual Studio?

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
Re: HKEY_CURRENT_USER\Software\Sparx Systems\EAAdd
« Reply #4 on: October 11, 2012, 01:56:04 am »
Yes, I do see it, but the status of it is ""Error - Missing" :(.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: HKEY_CURRENT_USER\Software\Sparx Systems\EAAdd
« Reply #5 on: October 11, 2012, 11:28:00 pm »
That means you made some error in your add-in. And EA lets you guess what. My advice: put in trace messages and log them to a file. Good luck!

q.

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
Re: HKEY_CURRENT_USER\Software\Sparx Systems\EAAdd
« Reply #6 on: October 12, 2012, 01:05:54 am »
How can I do it? I'm pretty new in such a things :(.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: HKEY_CURRENT_USER\Software\Sparx Systems\EAAdd
« Reply #7 on: October 12, 2012, 09:55:28 pm »
Ask in a forum about the language you are using.

q.

Gary

  • EA User
  • **
  • Posts: 84
  • Karma: +1/-0
    • View Profile
Re: HKEY_CURRENT_USER\Software\Sparx Systems\EAAdd
« Reply #8 on: November 24, 2012, 11:02:04 pm »
We had this issue recently. When you are prompted to input your admin password you switch users. So you are a different HKCurrentUser. then when you go back to your previous login the addin will not be recognised.

So what you have to do is login as the admin and then look in the HKUsers area and look through all of the entries that start something like HKEY_USERS\S-1-5-18, HKEY_USERS\S-1-5-19 etc. and find the ones with a key entry silmilar to Software\Sparx Systems\EAAddins and add the entry in those. One of them will be associated with your normal login.

I believe this is because when you login the profile in HKEY_USers that corresponds to you is copied into HKCurrentUser.
Hope this helps.