C# Класс WixSharp.ManagedUI

Наследование: IManagedUI, IEmbeddedUI
Показать файл Открыть проект

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

Свойство Тип Описание
Default ManagedUI
DialogBanner string
DialogBitmap string
Empty ManagedUI

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

Метод Описание
BeforeBuild ( ManagedProject project ) : void

This method is called (indirectly) by Wix# compiler just before building the MSI. It allows embedding UI specific resources (e.g. license file, properties) into the MSI.

Initialize ( Microsoft.Deployment.WindowsInstaller.Session session, string resourcePath, InstallUIOptions &uiLevel ) : bool

Initializes the specified session.

ManagedUI ( ) : System

Initializes a new instance of the ManagedUI class.

ProcessMessage ( InstallMessage messageType, Microsoft.Deployment.WindowsInstaller.Record messageRecord, MessageButtons buttons, MessageIcon icon, MessageDefaultButton defaultButton ) : MessageResult

Processes information and progress messages sent to the user interface.

Win32 MSI API: EmbeddedUIHandler

Shutdown ( ) : void

Shuts down the embedded UI at the end of the installation.

If the installation was canceled during initialization, this method will not be called. If the installation was canceled or failed at any later point, this method will be called at the end.

Win32 MSI API: ShutdownEmbeddedUI

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

Метод Описание
DialogBannerFileFor ( Project project ) : string
DialogBitmapFileFor ( Project project ) : string
LicenceFileFor ( Project project ) : string
LocalizationFileFor ( Project project ) : string
ReadDialogs ( Microsoft.Deployment.WindowsInstaller.Session session ) : void

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

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

This method is called (indirectly) by Wix# compiler just before building the MSI. It allows embedding UI specific resources (e.g. license file, properties) into the MSI.
public BeforeBuild ( ManagedProject project ) : void
project ManagedProject The project.
Результат void

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

Initializes the specified session.
public Initialize ( Microsoft.Deployment.WindowsInstaller.Session session, string resourcePath, InstallUIOptions &uiLevel ) : bool
session Microsoft.Deployment.WindowsInstaller.Session The session.
resourcePath string The resource path.
uiLevel InstallUIOptions The UI level.
Результат bool

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

Initializes a new instance of the ManagedUI class.
public ManagedUI ( ) : System
Результат System

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

Processes information and progress messages sent to the user interface.

Win32 MSI API: EmbeddedUIHandler

public ProcessMessage ( InstallMessage messageType, Microsoft.Deployment.WindowsInstaller.Record messageRecord, MessageButtons buttons, MessageIcon icon, MessageDefaultButton defaultButton ) : MessageResult
messageType InstallMessage Message type.
messageRecord Microsoft.Deployment.WindowsInstaller.Record Record that contains message data.
buttons MessageButtons Message buttons.
icon MessageIcon Message box icon.
defaultButton MessageDefaultButton Message box default button.
Результат MessageResult

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

Shuts down the embedded UI at the end of the installation.
If the installation was canceled during initialization, this method will not be called. If the installation was canceled or failed at any later point, this method will be called at the end.

Win32 MSI API: ShutdownEmbeddedUI

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

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

Default публичное статическое свойство

The default implementation of ManagedUI. It implements all major dialogs of a typical MSI UI.
public static ManagedUI,WixSharp Default
Результат ManagedUI

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

The location of the ManagedUI dialog banner bitmap. If not defined the Wix# compiler will use standard WiX dialog banner bitmap.
public string DialogBanner
Результат string

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

The location of the ManagedUI dialog bitmap. If not defined the Wix# compiler will use standard WiX dialog bitmap.
public string DialogBitmap
Результат string

Empty публичное статическое свойство

The default implementation of ManagedUI with no UI dialogs.
public static ManagedUI,WixSharp Empty
Результат ManagedUI