Creating a Custom Setup Program
A custom setup program (the program the user runs to install a program) is the result of building a special type of project in Visual C# .NET. Throughout most of this book, you've created projects of the type Windows Application. To create a custom setup program, you start with a special type of .NET project.
Follow these steps:
Start Visual Studio .NET and choose to create a new project now.
In the New Project dialog box, click the Setup and Deployment Projects item to display its contents, and then click Setup Project (see Figure 22.1). This is the project type to use when you distribute Windows Applications; use the Web Setup Project item when distributing Web projects.
Figure 22.1. Create a Setup Project ...