I have developed an Outlook 2010 addin using Visual Studio 2010. When debugging/running from Visual Studio, everything works just fine. However, I am trying to make a setup so other users can simply install the addin. When running the setup on other computers, however, everything seems to work just fine, but the addin is not added to Microsoft Outlook.
By the way: even when running the setup on my computer (after having removed the addin that has been automatically added due to Visual Studio running), the addin is not added to MS Outlook. The addin project is referenced in the setup project that I build.
What could possibly be wrong?
Have you tried entering to outlook File -> Options -> Add-ins and check in the list if you app is registered and/or activated?
Related
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.
I have developed Outlook 2010 addIn project and I have to setup this to users computers. When there is Visual Studio installed in user's computer it is ok. But when there is not installed Visual Studio , then my AddIn doesn't work. I don't want to install FULL Visual Studio. I thought to install "Visual Studio 2010 Tools for Office Runtime" would help, but it didn't. What have I to do for this?.
The problem was that I had added Visual Basic component (LineShape) to my FormRegion. And my project is written in C#. So this was making some conflict. I removed that VB component , and it is solved.
Thanks you all for your help.
What you could do is create an InstallShield project for your Outlook Addin (from within Visual Studio) and accept its default options to include the necessary dependencies. The end result is an .msi file with everything the users would need to run your Addin.
Creating a InstallShield project from VS2013
As the other comments have mentioned, some dependency is missing from your user's PCs.
You just need to work out what is missing (and no, it's not a full installation of Visual Studio !)
I have developed a Outlook Addin using VSTO in Visual Studio 2010, on Windows XP/SP 3.
Build the VSTO solution, and I open Outlook 2010.
I see that the Add in has been installed. ( which is strange ).
Shut down Outlook.
Clean the VSTO solution 5) Open Outlook 2010, the add in is not
there.
So I believe Outlook understands that an Outlook add in is there, but I dont want the mentioned behaviour.
What am I looking for :-
I have created the installer using ClickOnce .
I should only see the Outlook addin , once I have executed the installer.
Any ideas shall be helpful.
When you build a VSTO addin, it gets automatically installed on your development machine. It is Visual Studio that is doing this for you, to make debugging easyer.
You can probably uninstall your addin automatically by using post-build events, but "Clean project" may be just as easy.
I have created a PowerPoint addin using the steps from this article:
Using RibbonX from Visual Basic
The plugin works fine when I start the project using F5 in Visual Studio 2005. But if I try to use the installer created by the setup project that is automatically added to the solution, the plug-in won't show when I run powerpnt.exe
Is there something I missed? Do I need to make some modifications to the installer?
Have you also enabled the plugin in Powerpoint -> Options -> Add-ins on the machines where you installed the Add-in?
I have made a Visual Studio Add-in as part of a project I'm working on using web services.
When I created the new Add-in project in visual studio it generated all the code required and installed the blank add-in on my pc (I assume).
Since this is a large project we are using svn to manage the code base and once I had done some of the work on the Add-in I commited it, then checked it out on a different pc and attempted to run it.
However on the other pc when I run the add-in in debug mode, the tools entry for the add-in is not present and I can't run the add-in.
Am I right in assuming that when I created the project on the other pc it installed the plugin as well? And does that mean that I will need to create an installer for any other pcs I wish to use?
Obviously at some point I intend on making an installer anyway but not untill after the development of the addin is complete.
Ok so I fixed my issue.
after doing some googling into a different issue I was having I stumbled apon the answer to my installer issue.
When the visual studio Add-in wizard creates your blank add-in it creates two xml files with the .Addin extension.
One of these is saved locally along with your project the other is copied to whatever path that copy of visual studio uses for its add-in folder.
So by copying the .addin file to the correct location on my other pc I can now run the Addin in both locations.