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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.