Click here to Skip to main content
13,146,663 members (65,843 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 15-Jan-13 3:39am
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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^]
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100