Installer::AfterInstall Event
.NET Framework (current version)
Occurs after the Install methods of all the installers in the Installers property have run.
Assembly: System.Configuration.Install (in System.Configuration.Install.dll)
The following example demonstrates the AfterInstall event. It is raised by the OnAfterInstall method.
// MyInstaller is derived from the class 'Installer'. public: MyInstaller() { AfterInstall += gcnew InstallEventHandler( this, &MyInstaller::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
Available since 1.1
Available since 1.1
Show: