[wix-users] Custom Progress Dialog

Nir Bar nir.bar at panel-sw.com
Wed Mar 7 22:53:01 PST 2018


Any custom action can send progress ticks and messages- these are called ActionData messages.
You can add to WiX SQL scripts code to send ActionData messages with the name / id of the scripts and add TextBox that listens on ActionData messages to the UI.
Note that if MSIFASTINSTALL bit 4 is on then ActionData messages are not processed. For example, burn sets this bit on MsiPackages

For the technical details of how to do it see
MsiProcessMessage()- https://msdn.microsoft.com/en-us/library/windows/desktop/aa370354(v=vs.85).aspx

Send INSTALLMESSAGE_ACTIONSTART message when starting the custom action and INSTALLMESSAGE_ACTIONDATA on every script.


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