NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Installer BeforeInstall Event

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
);

Parameters

sender
The source of the event.
e
An InstallEventArgs that contains the event data.

Remarks

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.

See Also

Installer Class | Installer MembersTopic | System.Configuration.Install Namespace | Installer.OnAfterInstall | Installer.OnAfterRollback | Installer.OnAfterUninstall | Installer.OnBeforeCommit | Installer.OnAfterInstall | Installer.OnBeforeRollback | Installer.OnBeforeUninstall