Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have an install that uses the SQL Server 2008R2 bootstrapper that I found out on the web. It has worked great until I try to put it on Windows 8.1. It was only looking for .Net 3.5 SP1 and now I want it to look for either anything greater that that version or .Net 4.5. I found one article on this forum that was looking for 4.0 and so I tried to adapt the product.xml file to 4.5 like this:

XML
<EitherProducts>
  <DependsOnProduct Code=".NETFramework,Version=v4.5" />
  <DependsOnProduct Code="Microsoft.Net.Framework.3.5.SP1" />
</EitherProducts>



but this is not working. It still wants to install 3.5 (which it does not need).

What am I doing wrong?
Posted
Comments
CHill60 23-Oct-14 10:02am    
Try removing the line "<dependsonproduct code="Microsoft.Net.Framework.3.5.SP1">$lt;/dependsonproduct>"
cotsjdixon 23-Oct-14 10:07am    
Obvious answer, but why is it failing on the 4.5 check?
Kornfeld Eliyahu Peter 23-Oct-14 10:58am    
Maybe that v4.5 version number - try 4.5 (no v before the number)...
cotsjdixon 23-Oct-14 12:34pm    
I think the issue is really with the setup. Seems VS 2008 always puts in .net whether you want it or not. I will now look at the options for removing it from my setup.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900