All user addin connection/disconnection

S

Sunny

Hi,

I have 2 addins. Both of them are registered for all users under HKLM.

Now, one of the addins controls the lifetime of the other one, and loads
it on demand, when certain conditions are met.
I.e. it issues commands like
myCOMAddin2.Connect = true
and
myCOMAddin2.Connect = false

when it have to.

All this works just fine when the logged in user is member of
Administrators group.

But if it is a regular user, setting of the Connect property fails with:
"The connected state of Office Add-Ins registered in HKEY_LOCAL_MACHINE
can not be changed."

Does anyone knows how to make it work with regular users as well. I
tried with changing the permissions of the "MyAddin2.Connect" under
HKLM/.../Addins to allow all users to have full control, but it does not
help.

Thanks
Sunny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top