Change Add-In usage per user/machine?

M

Mark S.

Is it possible to change the usage behavior of a shared add-in is VS.Net? I stepped through the Shared Add-In Wizard and am now about 90% done with my project. I initially set the add-in to be installed for all users, but now I would like it to be on a per user basis
 
M

Mark S.

Thanks for your reply... Actually, I figured out how to do in Visual Studio .Net 2003. It involves creating the <ProgID>.Connect registry key in HKCU hive. Deleting the on created in HKLM hive. Then I manually edited the setup project created by the VS.Net shared addin wizard to create the registry keys in HKCU instead of HKLM

As for the second part of the topic in your link. I think it means that you can create your connect key in the .DEFAULT user hive. But I think this part of the registry is copied for newly created users, not existing ones. "but make sure the add-in is loaded by default for all new users on the system" (notice the 'new'

To register an addin for all users, all you need to do is create your connection key in HKLM hive. When the connect key is created there, each user does not have the option of uninstalling the add-in. In fact it does not even show up in the list of installed COM Add-ins in Office programs. This is the mode for which I originally created my add-in...
 

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