Add-in installer

Add-in Express™ Support Service
That's what is more important than anything else

Add-in installer
 
Eranga Weeraratne




Posts: 50
Joined: 2011-10-19
Hi,

I created a Setup project to deploy an Outlook Add-in creating using Add-in express. In the main project's app.config file I added below few lines,

<startup>
<supportedRuntime version="v2.0.50727"/>
<supportedRuntime version="v2.0.50727" sku="Client"/>
<supportedRuntime version="v4.0.30319" sku=".NETFramework,Version=v4.0" />
<supportedRuntime version="v4.0.30319" sku=".NETFramework,Version=v4.0,Profile=Client" />
</startup>

The add-in is developed to support .Net framework version 2.0 upwards.

However when trying to install the Add-in, the setup is asking to install .Net 2, even though the user computer has .Net 4 installed. How do I disable this prompt, if the users computer has a .Net version 2 or greater?

Thanks in advance,
- Eranga
Posted 26 Jan, 2012 05:55:58 Top
Eugene Astafiev


Guest


Hi Eranga,

Please check out launch conditions in your setup project (see View -> Launch Conditions -> .Net Framework). What .net framework did you choose for the Version property of the .net framework launch condition?

It looks like this property is set to .net framework 2.0. Am I right?
Posted 26 Jan, 2012 06:05:32 Top
Eranga Weeraratne




Posts: 50
Joined: 2011-10-19
Hi Eugene,

Thanks for the info.

Rgds,
- Eranga
Posted 28 Jan, 2012 23:58:29 Top
Eugene Astafiev


Guest


You are welcome, Eranga! ;-)
Posted 30 Jan, 2012 01:50:44 Top