C# Класс MainViewModel, WixSharp

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ExitExecute ( ) : void
InstallExecute ( ) : void
MainViewModel ( Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication bootstrapper ) : System.ComponentModel
UninstallExecute ( ) : void

Защищенные методы

Метод Описание
OnPropertyChanged ( string propertyName ) : void

Приватные методы

Метод Описание
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.

Описание методов

ExitExecute() публичный Метод

public ExitExecute ( ) : void
Результат void

InstallExecute() публичный Метод

public InstallExecute ( ) : void
Результат void

MainViewModel() публичный Метод

public MainViewModel ( Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication bootstrapper ) : System.ComponentModel
bootstrapper Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperApplication
Результат System.ComponentModel

OnPropertyChanged() защищенный Метод

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Результат void

UninstallExecute() публичный Метод

public UninstallExecute ( ) : void
Результат void