I have a Visual Studio installer in VS 2013. This works fine for Word 2010 and Word 2013 but on Word 2007 it doesn't install correctly although the installer runs and says its successfully installed. After install, when I open Word 2007, the addin isn't ticked. If I then tick the addin and press ok, nothing happens and then if I look again, the addin is no longer ticked. If I look in the registry, the install package has failed to create the registry setting I have in my install package. Even if I manually create these, I still have the same issue in Word which suggests something else in the installer hasn't works although it seems to have put all the files in the right place, so i'm quite confused.
Note that I'm confident the addin itself is all fine in Word 2007 because when I build and run the addin with Word 2007, it all works correctly so i don't think there should be an issue with PIA's or any reference in the project etc.
Any help is much appreciated.
UPDATE: When I change the installation setting to write to current user instead of local machine, the registry correctly gets written too and the addin appears ticked and can see the ribbon. However when running anything on the ribbon that reads the project settings, it doesn't work. I have found that double clicking the vsto file fixes this, but i shouldn't need to do this.
UPDATE2: I have found a solution to the second part of my question (the need to double click the vsto for the settings to work). The manifest file if the registry must start "file:///" for Office 2007.
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 one add-in using Outlook 2010 AddIn for outlook 2013 with visual studio 2012. I have developed User Controls and worked with Custom Task Pane in Add In.
It works perfectly when I debug add-in from visual studio. I have created setup file using Install Shield Limited Edition (following basic steps given by forum). However, if I install that add-in and open Outlook, Add In does not load and is not visible on Home tab. Nothing happen.
I haven't made any registry entry while building setup file.
Please let me know how can i make it working.
Thanks.
You will have to make an entry to Registry. You can simply do through Install shield program.
Here is the quick screen shot:
Make sure that the loadBehaviour is set to 3.
If there is any error in the addon on load then it will set to back to 0.
It has been long time I did not developed the addon but I am sure my information is correct.
Also make sure that the you look after for 64 vs 32 bits entry.
I found a quick link for you too: http://blogs.msdn.com/b/emeamsgdev/archive/2013/11/21/outlook-deploying-an-outlook-2013-add-in-using-installshield-le.aspx
I'm not sure how my dev. environment got into this state, but if I am in Visual Studio and I press the Start button to load and run my Excel Add-In, it does not load. What is especially puzzling is that, unlike in the past when this happens, the add-in does not appear to be disabled (in File > Options > Add-Ins), it's just not registered as an add-in at all.
However, if I find and double-click on the .vsto file in my bin\Debug folder, it installs and runs fine. This is clearly a workaround, though, because subsequent changes to my add-in code are not loaded when I click "Start" again. I need to remove the plugin (including the registry entry) and re-install by double-clicking on the .vsto file.
Any ideas?
Environment: Windows 7, Office 2010, Visual Studio 2012.
Thanks!
I went to something similar at work (but not exactly the same)
Check the LoadBehavior of the add-in in registry, it should be set to 3, you can play arround with other values.
Also I remember there was a problem with the Manifest reg entry, it must be in some specific uri format, something like
file:/// | vstolocal
Check this link
In my case the addin works fine on my machine but after installing it didn't appear at end user machine
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.
I create a software with vs2010. Its an Excel 2007 add-in.
Its working perfectly.
But I want to install it on another pc. All installer packgage installed without error. I added the .vsto file, but it isn't working, just "Inactive Plugin"...
I followed step-by-step the official msdn and unofficial but full vsto-installer article write. But it isn't working. The install step ran successfully. All needed packages installed (vsto4.0, .net framework, interop office) and if I add the .vsto via double-click self-install, it is running correctly. But - as I wrote at the beginning - it isn't working, the vsto addin lists as an inactive plugin.
What did I do wrong, how can I install the vsto on another pc?
UPDATE
I found the answer. Just simple re-install the whole pc (windows, office) then its gonna work. So the problem not just the installer was, the system integration too.
I try the OneClick solution too, its work too.
At msdn (links at up) sol very important the correct register keys and correct installer-pre-req (if something missing its never run/installed correctly).