Reputation: 436
I recently upgraded my system to Windows 7 Enterprise. I have created an install package for a console application built with .Net framework 3.5 in VS2010. But when I try to install the msi on an XP machine, it gives me this warning that .Net Framework 4 is required.
Steps I tried to resolve the error:
All my above steps are futile since I am still getting a warning when I am installing the msi on an XP machine.
Has anybody got better idea to resolve this issue?
Upvotes: 10
Views: 4805
Reputation: 436
I think I have found the solution to this problem.
Right click on Setup Project > View > Launch Conditions. Over here, it was already referring to .Net Framework, Right click on it > Properties, change the version to .Net Framework 3.5. It solved the problem.
Upvotes: 10
Reputation: 17729
Dee you need to eliminate a few things. try constructing a 'blank' msi project with no dependencies in the manner described above and see if the resulting MSI requires .net4 on the target machine?
Secondly, what warning are you getting that .net4 is required? is it just the help link redirecting you to the generic .NET download page? if so, you can change this link to point to .NET3.5 SP1 specifically.
Upvotes: 0
Reputation: 4327
Install the full .NET Framework 4 on your XP machine
http://www.microsoft.com/en-us/download/details.aspx?id=17851
Upvotes: 0