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.
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 created a setup file using install shield limited edition for visual studio 2013. and its working. my problem is that, when my customer install the application on his machine he will be able to see the whole source code. as i saw in other application installed in windows there isn't any source code in , just a .exe file and some dll's. how couild i overcome this problem and how application that use only dll files work ?
this is my destination folder :
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?
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