The MsiProcessMessage function doco on MSDN shows this example:
PMSIHANDLE hInstall;
PMSIHANDLE hRec;
MsiProcessMessage(hInstall,
INSTALLM
I've not done much with DTF but my understanding is that you'd want something like:
Session.Message(InstallMessage.Error |
(InstallMessage)((int)MessageButtons.AbortRetryIgnore |
(int)MessageIcon.Warning),
record);
Not very pretty. I've formatted the messageType
agument to fit better in the text box here. Format in your code as per your coding guidelines. :)