Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AfterInstall Event

Installer.AfterInstall Event

Occurs after the Install methods of all the installers in the Installers property have run.

Namespace:  System.Configuration.Install
Assembly:  System.Configuration.Install (in System.Configuration.Install.dll)

public event InstallEventHandler AfterInstall

The following example demonstrates the AfterInstall event. It is raised by the OnAfterInstall method.

// MyInstaller is derived from the class 'Installer'.
MyInstaller() : base()
   AfterInstall += new InstallEventHandler(AfterInstallEventHandler);
private void AfterInstallEventHandler(object sender, InstallEventArgs e)
   // Add steps to perform any actions after the install process.
   Console.WriteLine("Code for AfterInstallEventHandler"); 

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft