Occurs before the installations handled by the installers in the InstallerCollection of this instance are uninstalled.
The following declaration shows the syntax for a method that handles the BeforeUninstall event.
[Visual Basic] Private Sub InstallerName_BeforeUninstall( _ ByVal sender As Object, _ ByVal e As InstallEventArgs _ ) [C#] private void InstallerName_BeforeUninstall( object sender, InstallEventArgs e ); [C++] private: void InstallerName_BeforeUninstall( Object* sender, InstallEventArgs* e ); [JScript] private InstallerName_BeforeUninstall( sender : Object, e : InstallEventArgs );
This event is raised before the installations handled by installers contained in this instance's InstallerCollection are uninstalled. Attach event-handling methods that need to run before the Uninstall methods are called to this event.
Installer Class | Installer MembersTopic | System.Configuration.Install Namespace | Installer.OnAfterInstall | Installer.OnAfterRollback | Installer.OnAfterUninstall | Installer.OnBeforeCommit | Installer.OnBeforeInstall | Installer.OnBeforeRollback | Installer.OnAfterCommit