Setup For Window Forms Application and Websites.

Introduction

This article enables you to build a setup for your Windows Forms applications and for your web sites.

Step 1

First of all, create a web site or Windows Forms application.
 
Step 2

Next add a setup project by clicking on File -> Add -> New Project.

Step 3

Select here Setup and Deployment in the left side bar in project types.


1.gif
Figure 1

Here you will see three options as in the following:

1. Application Folder
2. User Desktop
3. User Program Menu

Step 4

From the preceding three options it is our choice to copy our files during the installation process. Let us select User Desktop. Then right-click on it and select Add -> Project output.

2.gif

Figure 2

Step 5

After clicking on Project Output, a new window will open. Here select the options you want to include in your setup and then click on OK.

3.gif

Figure 3

Step 6

After clicking on OK, rebuild the setup from the Build option in the Menu bar; see:

4.gif

Figure 4

Step 7

After this, right-click on the setup project in Solution Explorer and click on the Install menu item.

5.gif

Figure 5

Finally the setup process will start.

6.gif

Figure 6

Step 8

After copmpleting the installation go to the Desktop; there you will find all the files which you have included in your setup.

Up Next
    Ebook Download
    View all
    Learn
    View all