[wix-users] Message Box in Wix Control & Custom Action

Nir Bar nir.bar at panel-sw.com
Tue Apr 3 11:39:23 PDT 2018


You can do both ways:

For C# custom action, use session.Message() with InstallMessage.User, InstallMessage.Warning or InstallMessage.Error for first parameter.
The function uses the underlying MsiProcessMessage() API which takes care of UI level.

For the MSI approach, author a dialog to display the message you need and then in the PushButton publish a SpawnDialog event.

--
Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework

JetBA++: WiX Native Bootstrapper User Interface Framework





More information about the wix-users mailing list