Create customization for Outlook 2010 Add-in

I created an add-in add-in and you need to create a customization to make it distributable (I'm new to this, so pls sorry newbies)

Outlook -2010 Vs -2010 .Net 4.0 

I read something, the easiest way to do this is to simply post. And yes, it was that simple. A setup was created and I could install.
The trick was that on systems that did not have .net 4.0 (or maybe VS 2010), the installation first started installing the framework (which is good .. :)) when the system was restarted (with a full installation of 4.0).
When the user tries to install the installation, he gives an error message:

The following solution cannot be downloaded because Microsoft Office support for the .NET Framework 4.0 is not installed

The user device originally had Outlook 2010 and the 3.5 framework. I checked and a 4.0 client was installed (approximately 33 MB).

+4
source share
2 answers

I recently ran into the same problem and had to install Visual Studio 2010 Tools for Office Runtime on client workstations before installing my add-in. After installation, I was immediately able to install my add-in without rebooting.

Accordingly, [message] [3] from the VSTO command:

Note that in the beta and RTM releases of Office 2010, you are NOT Office 4.0 Runtime Extensions (or the ability to turn them into "). If you deploy settings designed for .Net Framework 4 and they will work on Office 2010 you will need your users to install VSTO 2010 Runtime redistributable (and, of course, before they are configured, they will need to install .Net Framework 4).

+5
source

You can change the project properties page and select the packages that you want them to be installed before your application, and you can also ask the publisher to include these necessary files locally with the installation package.

just go to the "Prerequisites" button on the "Publish" tab.

BTW, make sure you change .Net 4 Client Profile to .Net 4.0 and enable Microsoft Visual Studio 2010 Tools for Office Runtime.

+2
source

Source: https://habr.com/ru/post/1341324/


All Articles