Creating Installation Components

Create a setup program that installs an application and allows for the application to be uninstalled.

  • Perform an install-time compilation of a Windows-based application.

When you develop an application by using Visual Studio .NET, you use several resources, such as databases, event logs, performance counters, and message queues. However, when you install a program on a user's machine, these resource might not be present on the target machine. A good installation program ensures that all necessary resources that are required by an application exist on the target machine.

The .NET Framework provides you with the Installer class, which is defined in the System.Configuration.Install namespace. This class is specifically ...

Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET 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.