How to Make an Installation program for C# applications and include .NET Framework installer into the setup?

Make an Installation program for C# applications and
include .NET Framework installer into the setup.

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

Here I will give you Solution:

Step:1-First,Right click on solution explorer
Step:2-Now,Go to Add – New Project
Step:3-Go to Other Project Types and select Visual Studio Installer.
Step:4-Select in right side window Setup Wizard Setup and Deployment
Step:5-Create setup project using Setup Wizard.
Step:6-Select project type,like Create a setup for a Windows application.
Step:7-Select output,like Primary output from WindowsFormsApplication1
Step:8-Than finish.
Step:9-Open setup project properties into Setup1 propery pages.
Step:10- Select to include .NET framework.,like Microsoft .NET Freamwork Client Profile(x86 and x64)
Step:11-Than select ,like Download Prerequisites from the same location as my application.
Step:12-Build the setup project.
Step:13-Than Checkout output.

Your Setup folder is cretaed. like DotNetFX40Client.

About the Author

avatar