C# Class MainViewModel, WixSharp

Datei anzeigen Open project: Eun/WixSharp Class Usage Examples

Public Methods

Method Description
ExitExecute ( ) : void
InstallExecute ( ) : void
MainViewModel ( Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication bootstrapper ) : System.ComponentModel
UninstallExecute ( ) : void

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
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.

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.

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.

Method Details

ExitExecute() public method

public ExitExecute ( ) : void
return void

InstallExecute() public method

public InstallExecute ( ) : void
return void

MainViewModel() public method

public MainViewModel ( Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication bootstrapper ) : System.ComponentModel
bootstrapper Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication
return System.ComponentModel

OnPropertyChanged() protected method

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

UninstallExecute() public method

public UninstallExecute ( ) : void
return void