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