C# Класс WixSharp.UI.GenericSetup

Generic class that represents runtime properties of the typical MSI setup. It is a ViewModel class, which has 'value changed' events for all bindable properties automatically marshalled for the cross-thread calls.
Наследование: MsiSession
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
LogFile string
MsiFile string

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

Метод Описание
GenericSetup ( string msiFile, bool enableLoging = true ) : System

Initializes a new instance of the GenericSetup class.

RunAsync ( System action ) : void
StartInstall ( string msiParams = null ) : void

Starts the fresh installation.

StartRepair ( string msiParams = null ) : void

Starts the repair installation for the already installed product.

StartUninstall ( string msiParams = null ) : void

Starts the uninstallation of the already installed product.

UpdateStatus ( ) : void

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

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

Initializes a new instance of the GenericSetup class.
public GenericSetup ( string msiFile, bool enableLoging = true ) : System
msiFile string The MSI file.
enableLoging bool if set to true [enable loging].
Результат System

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

public RunAsync ( System action ) : void
action System
Результат void

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

Starts the fresh installation.
public StartInstall ( string msiParams = null ) : void
msiParams string The MSI parameters.
Результат void

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

Starts the repair installation for the already installed product.
public StartRepair ( string msiParams = null ) : void
msiParams string The MSI parameters.
Результат void

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

Starts the uninstallation of the already installed product.
public StartUninstall ( string msiParams = null ) : void
msiParams string The MSI params.
Результат void

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

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

Описание свойств

LogFile публичное свойство

The path to the MSI session log file.
public string LogFile
Результат string

MsiFile публичное свойство

The path to the encapsulated MSI file.
public string MsiFile
Результат string