C# Class MainViewModel, WixSharp

Afficher le fichier Open project: Eun/WixSharp Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Méthode 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 méthode

public ExitExecute ( ) : void
Résultat void

InstallExecute() public méthode

public InstallExecute ( ) : void
Résultat void

MainViewModel() public méthode

public MainViewModel ( Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication bootstrapper ) : System.ComponentModel
bootstrapper Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication
Résultat System.ComponentModel

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Résultat void

UninstallExecute() public méthode

public UninstallExecute ( ) : void
Résultat void