Setup for a Windows Forms application using Visual Studio 2010 in VB.NET

In this article we will learn how to create setup for a windows forms application using Visual Studio 2010.
  • 3036

In this article we will learn how to create setup for a windows forms application using Visual Studio 2010.

Step1:  create a windows forms application.

Step2: Now, click on the file -> add -> new project and window looks like this.

setupw1.gif
 

Figure1.

Step3:  Now, select setup and deployment -> visual studio installer ->select setup project,  and select the name of the setup such as datetime setup and location of the setup then click on the OK button.

setupw2.gif
 

Figure 2.

Now we find three option.

  1. Application Folder
  2. User's Desktop
  3. User's Program Menu
Step4: The above three option are the three place during the installation we will find the copy of the setup.

Now, we select the option User's Desktop.Then Right click on User's Desktop option and select Add-> Project Output. The window looks like this.

setupw3.gif
 

Figure 3.

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

setupw4.gif
 

Figure 4.

Step 6. Now, Rebuild the Setup from Build option in Menu bar.

setupw5.gif
 

Figure 5.

Step 7: Now, right click on the setup project named (datetime setup) in Solution Explorer and click on Install.
 

setupw6.gif
 

Figure 6.

Now, setup process of installation will ready. Window looks like this.

setupw7.gif
 

Figure 7.

Step 8: Now, click on the next and setup process will start.

setupw8.gif
 

Figure 8.

Step 9: After installation setup click on the button close.

setupw9.gif
 

Figure 9.

Step 10: After clicking the close buttongo on desktop there you will find all files you have included in the setup on the desktop.

Categories

More Articles

© 2013 dotNetheaven. All rights reserved.