Using System.Windows.Forms can be done but then your custom action won't be following the UILevel specified by the install session. You could tell that MSI to run silently and your custom action will still be popping up message boxes which is not good.
Using MsiProcessMessage is the proper way to handle messages. The reason you see a bunch of C++ examples is because it is a native API. Fortunately, the DTF framework has wrapped all the native MSI calls to make them easier to use in C#. If you create a new C# Custom Action from the WiX project types you'll be all set - it will have the "using Microsoft.Deployment.WindowsInstaller;" line already which is what allows us to call MsiProcessMessage using C# and DTF, like so. Record record = new Record(2); record[0] = "[1]"; record[1] = "My MSI Message"; session.Message(InstallMessage.Info, record); -- View this message in context: http://n2.nabble.com/Show-Dialog-from-C-Custom-Action-tp4823643p4824470.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