The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Installer::BeforeInstall Event
.NET Framework (current version)
Occurs before the Install method of each installer in the installer collection has run.
Assembly: System.Configuration.Install (in System.Configuration.Install.dll)
The following example demonstrates the BeforeInstall event. It is raised by the OnBeforeInstall method.
// MyInstaller is derived from the class 'Installer'. private: MyInstaller() { BeforeInstall += gcnew InstallEventHandler( this, &MyInstaller::BeforeInstallEventHandler ); } void BeforeInstallEventHandler( Object^ sender, InstallEventArgs^ e ) { // Add steps to perform any actions before the install process. Console::WriteLine( "Code for BeforeInstallEventHandler" ); }
.NET Framework
Available since 1.1
Available since 1.1
Show: