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

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