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 |
|
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? |
|
Eranga Weeraratne
Posts: 50
Joined: 2011-10-19
|
Hi Eugene,
Thanks for the info.
Rgds,
- Eranga |
|
Eugene Astafiev
Guest
|
You are welcome, Eranga! ;-) |
|