Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Is there any way to provide .net framework 4.0 with setup

i mean any way to client download or install automatically install while setup is install.
Posted
Updated 17-Aug-12 19:39pm
v2

Use Visual Studio Setup project. Setup project can automatically include .NET framework setup in your installation package:

Here is my step-by-step for windows forms application:

1 Create setup project. You can use Setup Wizard.
2 Select project type.
3 Select output.
4 Hit Finish.
5 Open setup project properties.
6 Chose to include .NET framework.
7 Build setup project
8 Check output
 
Share this answer
 
Comments
[no name] 18-Aug-12 2:25am    
k, thx
Sangramsingh Pawar 18-Aug-12 2:29am    
if you think this will help you then click on Accept Solution
Espen Harlinn 18-Aug-12 12:41pm    
5'ed!
Yes, but of course deployment and even build of the application has nothing to do with Visual Studio; it does not participate. Yes, build, too: MSBuild and compilers are included in (re-distributable) .NET Framework, so Visual Studio does not compile anything by itself and not needed for the build, which is done via MSBuild (or via just the compiler, but this is lower-level and kind of exotic).

So, the remaining question is: how to deploy the .NET Framework with the product? This is explained here:
http://msdn.microsoft.com/en-us/library/6hbb4k3e%28v=vs.100%29.aspx[^].

—SA
 
Share this answer
 
Comments
Espen Harlinn 18-Aug-12 12:42pm    
5'ed!
Sergey Alexandrovich Kryukov 18-Aug-12 12:44pm    
Thank you, Espen.
--SA

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