C# Class BootstrapperManager, sonarqube-windows-installer

Inheritance: INotifyPropertyChanged
显示文件 Open project: SonarQubeCommunity/sonarqube-windows-installer

Public Methods

Method Description
ExecutePlan ( ) : void
Initialize ( Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication bootstrapper, AutoResetEvent autoEvent ) : void

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
BootstrapperManager ( ) : System
OnApplyComplete ( object sender, Microsoft.Tools.WindowsInstallerXml.Bootstrapper.ApplyCompleteEventArgs e ) : void

Method that gets invoked when the Bootstrapper ApplyComplete event is fired. This is called after a bundle installation has completed. Make sure we updated the view.

OnDetectComplete ( object sender, Microsoft.Tools.WindowsInstallerXml.Bootstrapper.DetectCompleteEventArgs e ) : void
OnDetectPackageComplete ( object sender, Microsoft.Tools.WindowsInstallerXml.Bootstrapper.DetectPackageCompleteEventArgs e ) : void

Method that gets invoked when the Bootstrapper DetectPackageComplete event is fired. Checks the PackageId and sets the installation scenario. The PackageId is the ID specified in one of the package elements (msipackage, exepackage, msppackage, msupackage) in the WiX bundle.

OnError ( object sender, Microsoft e ) : void
OnPlanComplete ( object sender, Microsoft.Tools.WindowsInstallerXml.Bootstrapper.PlanCompleteEventArgs e ) : void

Method that gets invoked when the Bootstrapper PlanComplete event is fired. If the planning was successful, it instructs the Bootstrapper Engine to install the packages.

OnPlanPackageComplete ( object sender, Microsoft.Tools.WindowsInstallerXml.Bootstrapper.PlanPackageCompleteEventArgs e ) : void

Method Details

ExecutePlan() public method

public ExecutePlan ( ) : void
return void

Initialize() public method

public Initialize ( Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication bootstrapper, AutoResetEvent autoEvent ) : void
bootstrapper Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication
autoEvent AutoResetEvent
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void