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:

1.
Start Visual Studio .NET and choose to create a new project now.
2.
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 ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.