Monday, 22 July 2013

How to Create Setup project in visual studio || Step By Step To Create Setup.exe For .NET Project || Create Setup and Deployment Project

Hi Friends,in this article i will explain about how to Create setup in visual studio or Step By Step To Create Setup.exe For .NET Project or Create Setup and Deployment Project.

I already explained in previous articles on Windows Forms.

Step 1: First of all, create a Windows Forms application with text boxes and button what you want like an application. 

Step 2: Next add a setup project by clicking on File-> Add-> New Project.
By clicking here the window will open like this:

Figure 1:

Step 3: Select Setup and Deployment in the left side bar in project types.

 Figure 2:

then it displays 3 options as following:
  1. Application Folder
  2. User's Desktop
  3. User's Program Menu
Step 4: These three options are the three places where we want to copy your setup files during the installation process. From here we have to select one option. Suppose I select User's Desktop. Then Right click on User's Desktop option and select Add-> Project Output. The window will look like as.

Figure 3:

Step 5: After clicking on Project Output, a new window will open. Here we select first four options. Now click on OK.

 Figure 4:

Step 6: After clicking on OK, Rebuild the Setup from Build option in Menu bar like as.

 Figure 5:

Step 7: After this, let's test our setup by going right clicing on the setup project in Solution Explorer and click on Install menu item. 

Figure 6:

The setup process will start, and click on Next --> Next

Figure 7:

Step 8: After copmpleting the installation go on desktop there you will find all files you have included in the setup on the desktop.

I think you like my blog Aspdotnet-Roja why are waiting following me on facebook fan page Aspdotnet-roja

No comments:

Post a Comment

© 2012-2018 All Rights Reserved.
The content is copyrighted to Kishore and may not be reproduced on other websites without permission from the owner.