Skip to main content

IEmbeddedUI Interface

[MSI 4.5] Interface for an embedded external user interface for an installation.

Methods

MethodDescription
ProcessMessage(messageType, messageRecord, buttons, icon, defaultButton)Processes information and progress messages sent to the user interface.
Shutdown()Shuts down the embedded UI at the end of the installation.

Remarks

Classes which implement this interface must have a public constructor that takes no parameters. WixToolset.Dtf.WindowsInstaller.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

ProcessMessage(messageType, messageRecord, buttons, icon, defaultButton) Method

Processes information and progress messages sent to the user interface.

Declaration

public MessageResult ProcessMessage(
InstallMessage messageType,
Record messageRecord,
MessageButtons buttons,
MessageIcon icon,
MessageDefaultButton defaultButton
)

Parameters

ParameterTypeDescription
messageTypeInstallMessageMessage type.
messageRecordRecordRecord that contains message data.
buttonsMessageButtonsMessage buttons.
iconMessageIconMessage box icon.
defaultButtonMessageDefaultButtonMessage box default button.

Return value

MessageResult Result of processing the message.

Remarks

Win32 MSI API: EmbeddedUIHandler

Shutdown() Method

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

Declaration

public void Shutdown()

Remarks

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