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