Click here to Skip to main content
16,004,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
Was installing a small app in a separate PC and it could not install because it didn't have the .Net framework 4, so how can i install a .Net framework while installing the app? or what is a better way...
Posted
Comments
joshrduncan2012 15-Jan-13 9:49am    
Add it as a requirement/prerequisite to your build when you create the .msi/.exe file.
Abhishek Pant 15-Jan-13 10:00am    
use installshield.

1 solution

If you are deploying using Visual Studio Setup Project you will need to do the following

1) Right click on setup project
2) Click the Prerequisites button on the setup project properties screen.
3) Select your .net framework version that you wish to deploy along with your aplication.

This link should help as well: Add Prerequisites of .NET Framework in Visual Studio Setup Project[^]
 
Share this answer
 
Comments
Anele Ngqandu 15-Jan-13 12:33pm    
ow that was easy...thanks

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