How to create a setup for a Windows Forms application using Visual Studio 2010
In this article we will learn how to create setup for a windows forms application using Visual Studio 2010.
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.
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.
Figure 2.
Now we find three option.
- Application Folder
- User's Desktop
- 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.
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. Now, Rebuild the Setup from Build option in Menu bar.
Figure 5.
Step 7: Now, right click on the setup project named (datetime setup) in Solution Explorer and click on Install.
Figure 6.
Now, setup process of installation will ready. Window looks like this.
Figure 7.
Step 8: Now, click on the next and setup process will start.
Figure 8.
Step 9: After installation setup click on the button close.
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.