Skip to content

IEmbeddedUI Interface

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

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.

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

Section titled “ProcessMessage(messageType, messageRecord, buttons, icon, defaultButton) Method”

Processes information and progress messages sent to the user interface.

public MessageResult ProcessMessage(
InstallMessage messageType,
Record messageRecord,
MessageButtons buttons,
MessageIcon icon,
MessageDefaultButton defaultButton
)
ParameterTypeDescription
messageTypeInstallMessageMessage type.
messageRecordRecordRecord that contains message data.
buttonsMessageButtonsMessage buttons.
iconMessageIconMessage box icon.
defaultButtonMessageDefaultButtonMessage box default button.

MessageResult Result of processing the message.

Win32 MSI API: EmbeddedUIHandler

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

public void Shutdown()

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