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.OnBeforeInstall

Raises the OnBeforeInstall event.

[Visual Basic]
Overridable Protected Sub OnBeforeInstall( _
   ByVal savedState As IDictionary _
)
[C#]
protected virtual void OnBeforeInstall(
   IDictionary savedState
);
[C++]
protected: virtual void OnBeforeInstall(
   IDictionary* savedState
);
[JScript]
protected function OnBeforeInstall(
   savedState : IDictionary
);

Parameters

savedState
An IDictionary that represents the state of the machine during installations handled by the installers in this instance's InstallerCollection; it is empty at this point in the process.

Remarks

This method is called before the Install methods of the installers in this instance's InstallerCollection are called.

Raising the event invokes an event-handling method through a delegate. For an overview, see EventTopicTBD.

Notes to Inheritors: When overriding OnBeforeInstall in a derived class, be sure to call the base class's OnBeforeInstall method.

See Also

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