Installer::AfterUninstall Event
.NET Framework (current version)
Occurs after all the installers in the Installers property perform their uninstallation operations.
Assembly: System.Configuration.Install (in System.Configuration.Install.dll)
The following example demonstrates the AfterUninstall event. It is raised by the OnAfterUninstall method.
// MyInstaller is derived from the class 'Installer'. private: MyInstaller() { AfterUninstall += gcnew InstallEventHandler( this, &MyInstaller::AfterUninstallEventHandler ); } void AfterUninstallEventHandler( Object^ sender, InstallEventArgs^ e ) { // Add steps to perform any actions before the Uninstall process. Console::WriteLine( "Code for AfterUninstallEventHandler" ); }
.NET Framework
Available since 1.1
Available since 1.1
Show: