I use the following to show an error message from my C# custom actions:

Record record = new Record();
record.FormatString = "My Error";
session.Message(InstallMessage.Error |
(InstallMessage)System.Windows.Forms.MessageBoxIcon.Error |
    (InstallMessage)System.Windows.Forms.MessageBoxButtons.OK, record);
-- 
View this message in context: 
http://n2.nabble.com/Show-Dialog-from-C-Custom-Action-tp4823643p4831674.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to