locked
Registering an old style Visual Studio Add-in for all users. RRS feed

  • Question

  • I have an old ATL style add-in, in the past I used regsrv32 to register the add-in with visual studio.   I have converted the ATL add-in to work in VS-2010 and I am able to register and use it when i'm logged in as an administrator on the computer, but I am unable to get the add-in to be able to load under a user account.  What do I have to do to register an add-in for vs2010 for all users.
    • Moved by Larcolais Gong Monday, February 28, 2011 5:55 AM (From:Visual Studio Setup and Installation)
    Friday, February 25, 2011 6:53 PM

Answers

  • COM-based add-ins need two registrations:

    1) As COM component, using regsrv32.exe. This tool registers for all users (HKEY_LOCAL_MACHINE)

    2) Add-in registration for Visual Studio. This is done by your setup, and can be done for all users (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Addins\MyAddIn.Connect) or for the current user (HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0\Addins\MyAddIn.Connect). How are you doing it?

    You don't specify why "I am unable to get the add-in to be able to load...", what error or effect are you getting? In general, see:

    HOWTO: Troubleshooting Visual Studio and Office add-ins
    http://www.mztools.com/articles/2007/mz2007009.aspx

     


    MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about developing add-ins: http://msmvps.com/blogs/carlosq/
    Monday, February 28, 2011 6:55 AM

All replies

  • Hi Fankw,

    Thank you for posting. Your question is more like VSX one. I'll help you moving your thread into appropriate forum. You will get more helpful suggestions there.

    Sincerely,


    Larcolais Gong[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, February 28, 2011 5:55 AM
  • COM-based add-ins need two registrations:

    1) As COM component, using regsrv32.exe. This tool registers for all users (HKEY_LOCAL_MACHINE)

    2) Add-in registration for Visual Studio. This is done by your setup, and can be done for all users (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Addins\MyAddIn.Connect) or for the current user (HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0\Addins\MyAddIn.Connect). How are you doing it?

    You don't specify why "I am unable to get the add-in to be able to load...", what error or effect are you getting? In general, see:

    HOWTO: Troubleshooting Visual Studio and Office add-ins
    http://www.mztools.com/articles/2007/mz2007009.aspx

     


    MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about developing add-ins: http://msmvps.com/blogs/carlosq/
    Monday, February 28, 2011 6:55 AM