locked
how create setup for visual studio addins RRS feed

  • Question

  • Created a add ins for visual studio 2008. We want to create a setup which can be installed in other machines.
    Even though when we create a setup and try to install it another machine it installs but finally when we open the visual studio 2008 and check for the add ins it is not reflected.
    Can anybody help me in sorting this concern.

    Tuesday, January 26, 2010 7:25 AM

Answers

  • Hi,

    Thanks for your post.
    To deploy add-in in VS2008, the overview of the process is:
    1. Get the .addin file and .dll file after built the add-in project.
    2. Copy the .addin file into the folder of target machiine: [CurrentUser]\Documents\Visual Studio 2008\Addins\ ("My Documents" instead of "Documents"in Windows XP).
    3. Copy the .dll file into the target machine.
    4. You could see below information in the .addin file, it indicates where to find the .dll file, please make sure the path is correct.

        <Addin>
          ...
          <Assembly>E:\Projects\AddinSample\AddinSample\bin\Project1.dll</Assembly>
          ...
        </Addin>

    So we just need to copy both files to the appropriate paths.  A easy way is using Windows Installer, another way is Visual Studio Content Installer, if you have question about how to use them to deployment add-in, please feel free to let me know.

    Sincerely,
    Wesley
    Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Proposed as answer by Carlos J. Quintero Tuesday, January 26, 2010 12:26 PM
    • Marked as answer by Wesley Yao Monday, February 1, 2010 3:35 AM
    Tuesday, January 26, 2010 9:11 AM
  • Hello,

    Read carefully:

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

    HOWTO: Design a Visual Studio add-in to install and run on Windows Vista
    (same link)

    and

    HOWTO: Create a setup for a Visual Studio 2005 / 2008 add-in using Inno Setup
    (same link)
    MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about developing add-ins: http://msmvps.com/blogs/carlosq/
    • Proposed as answer by Carlos J. Quintero Tuesday, January 26, 2010 9:11 AM
    • Marked as answer by Wesley Yao Monday, February 1, 2010 3:35 AM
    Tuesday, January 26, 2010 9:11 AM

All replies

  • Hello,

    Read carefully:

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

    HOWTO: Design a Visual Studio add-in to install and run on Windows Vista
    (same link)

    and

    HOWTO: Create a setup for a Visual Studio 2005 / 2008 add-in using Inno Setup
    (same link)
    MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about developing add-ins: http://msmvps.com/blogs/carlosq/
    • Proposed as answer by Carlos J. Quintero Tuesday, January 26, 2010 9:11 AM
    • Marked as answer by Wesley Yao Monday, February 1, 2010 3:35 AM
    Tuesday, January 26, 2010 9:11 AM
  • Hi,

    Thanks for your post.
    To deploy add-in in VS2008, the overview of the process is:
    1. Get the .addin file and .dll file after built the add-in project.
    2. Copy the .addin file into the folder of target machiine: [CurrentUser]\Documents\Visual Studio 2008\Addins\ ("My Documents" instead of "Documents"in Windows XP).
    3. Copy the .dll file into the target machine.
    4. You could see below information in the .addin file, it indicates where to find the .dll file, please make sure the path is correct.

        <Addin>
          ...
          <Assembly>E:\Projects\AddinSample\AddinSample\bin\Project1.dll</Assembly>
          ...
        </Addin>

    So we just need to copy both files to the appropriate paths.  A easy way is using Windows Installer, another way is Visual Studio Content Installer, if you have question about how to use them to deployment add-in, please feel free to let me know.

    Sincerely,
    Wesley
    Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Proposed as answer by Carlos J. Quintero Tuesday, January 26, 2010 12:26 PM
    • Marked as answer by Wesley Yao Monday, February 1, 2010 3:35 AM
    Tuesday, January 26, 2010 9:11 AM
  • Hi, I have to Create SetUp in Visual studio 2010.

    My Set Up is working Fine on my own machine. When I am Installing this Set-Up to Other Machine than addin is not Reflected.

    Can anybody help me.

    Thanks

    Neha

    Friday, June 8, 2012 5:22 AM
  • Thursday, December 6, 2012 1:17 PM