Click here to Skip to main content
15,885,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello
can i place the .net framework 4.0 in application so that it automatically install before the application installation in client machine . if yes then where should i place it.
Posted

1 solution

If you right click your project in Solution Explorer and select Properties, you will get a page that allows you to set up various aspects of your application. Go to the Publish tab, and click on prerequisites, and you can select the .Net framework of your choice, and then specify that the prerequisites should be included with your application setup .

Hope this helps
 
Share this answer
 
Comments
choudhary.sumit 24-Aug-11 9:07am    
thanks wayne... i've tried it but framework installation starts from microsoft website.. i want to include it in my application. is there any specific directory in my app from where it starts download and install
Wayne Gaylard 24-Aug-11 9:14am    
There should be a section at the bottom of the prerequisites dialogue which says Specify the install location for prerequisites, and gives you three choices. Just select the choice that says Download prerequisites from the same location as my application. Then when you compile it will put the .Net framework in your Release folder.

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