Deploying VSTO Add-In to All Users - c#

I add a Word 2013 Add-In project for add ribbon to word.
I Release it. it added ribbon to word for current user, but i want add it to all user.
I set registry in windows.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Common\General\
Set EnableLocalMachineVSTO=1 for it.
but don't add it to all user.

You need to register the add-in for all users. See Registry Entries for Application-Level Add-Ins for more information.
I'd suggest creating an installer for the add-in to get it deployed easily. The Deploying an Office Solution by Using Windows Installer article describes all the required steps for creating MSI instanllers.

Related

Outlook add-in not showing in outlook menu after installing

I have created a setup file for outlook add-in using installShield. After building the setup project, it has given setup file, that I installed in my machine. But when I open the outlook it is not showing in add-in tab. I tried to search the disabled add-ins also, it was not there.
Please suggest me.
By default, if a VSTO Add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom ribbon does not appear, or why a ribbon appears but no controls appear.
To show VSTO Add-in user interface errors you need to do the following steps:
Start the application.
Click the File tab.
Click Options.
In the categories pane, click Advanced.
In the details pane, select Show VSTO Add-in user interface errors, and then click OK.
See How to: Show Add-in user interface errors for more information.
Also I'd recommend choosing your own custom tab for the UI. Thus, you will be able to avoid any clashes with other add-ins.
VSTO provides two main ways for creating a custom tab:
Walkthrough: Create a custom tab by using the Ribbon Designer
Walkthrough: Create a custom tab by using Ribbon XML
I missed the below step in InstallShield
I registered the Addin in Repository with the details of
Description, Friendly Name, LoadBehaviour, and Manifest.
Now The add-in is showing in outlook menu bar.

Create MSI for Office Outlook Add-In with visual studio

I have create a c# application with a windows service and 2 vsto projects. Once the MSI has been created/installed i can see the one add-in was installed and the service is deployed as well. My problem comes in where only one of the vsto projects is installed. The one that is giving me nightmares is a Outlook visual designer ribbon. The other vsto project is a non visual add-in, and that one installs just fine. For the life of me i can't figure out why the visual designer is not installing, it is not in outlook options and not in control panel/add remove either. Compiling it from Visual studio everything works fine and runs as it should. Does anyone maybe have an idea of what could be wrong? Thanks in advance.
If you don't see your add-in listed on the COM add-ins dialog the required windows registry keys were not added properly. See Registry Entries for Application-Level Add-Ins for more information.
Make sure that you did all the necessary steps described in the Deploying an Office Solution by Using Windows Installer article.

Publishing and installing an Outlook 2003 Add-In

I have a solution with 5 projects in it, one of which is a Windows Form Project. They all are part of the Outlook Add-In. I tried publishing the 5 projects and installing them, which seems to work fine. The only problem is, after installing I see the entry in the Start Menu but only for the Windows Forms project. When I start it, the Form is displayed but not Outlook.
Also, if I open Outlook and look into COM-Addins, I don't see my Addin. How can I publish/install my Addin so it will load automatically when Outlook starts?
Did you create an Outlook 2003 VSTO project? Are your registry entries deployed and is LoadBehavior set to 3?
Deploying Application-Level Add-Ins (2003 System)
http://msdn.microsoft.com/en-us/library/ms269007.aspx

Distributing Outlook Add-In from Visual Studio 2012

I've written an Outlook add-in for our office that I'd like to make available to others for testing.
My Googling has indicated that I should make an InstallShield project in the solution and use that, however my Visual Studio install only opens an InstallShield download page for which there is a dead link.
Following this failure, I attempted to manually add the add-in to Outlook by utilizing the files in the bin directory, but it tells me that it is an invalid add-in.
I'm at a bit of a loss here on how to proceed in making this add-in available for distribution.
You could use click-once, right click the outlook project in solution explorer and select publish and follow the wizard. The only problem would be that you will need to sign the click-once app because office addins are particular about security.
This question has further details.

how to run add-in on different system?

I have one shared add-in created in visual Studio 2005. This Add-in is worked on my system fine but if i tried to run this add-in on different system then it is not working. I found the problem behinde this but is it correct or not.
In my view the problem is when we create add-in through visual studio then the entry of this add-in is internally done by visual studio in registray file, so if we can try to run add-in created on particular system,to different system then this is not working because of this.
my process to run this add-in on different system is
copy my add-in project to different system and then build this project and tried to run add-in but its not working.
so is there any solution for this??
Create a Setup and Deployment type project for your add-in. The resulting installer will create the Registry entries needed to run your add-in.
The required Registry entries for Office add-ins are described here:
Registry Entries for Application-Level Add-Ins

Categories