C# Class 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.
Inheritance: MsiSession
Exibir arquivo Open project: Eun/WixSharp Class Usage Examples

Public Properties

Property Type Description
LogFile string
MsiFile string

Public Methods

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

Method Details

GenericSetup() public method

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].
return System

RunAsync() public method

public RunAsync ( System action ) : void
action System
return void

StartInstall() public method

Starts the fresh installation.
public StartInstall ( string msiParams = null ) : void
msiParams string The MSI parameters.
return void

StartRepair() public method

Starts the repair installation for the already installed product.
public StartRepair ( string msiParams = null ) : void
msiParams string The MSI parameters.
return void

StartUninstall() public method

Starts the uninstallation of the already installed product.
public StartUninstall ( string msiParams = null ) : void
msiParams string The MSI params.
return void

UpdateStatus() public method

public UpdateStatus ( ) : void
return void

Property Details

LogFile public_oe property

The path to the MSI session log file.
public string LogFile
return string

MsiFile public_oe property

The path to the encapsulated MSI file.
public string MsiFile
return string