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