Stupid question I know...

I am using WIX 3.7 and using burn to bootstrap my MSI's

Most of my MSI's have no need to show UI, so in Burn i am using:
DisplayInternalUI="no"

I have quite a few DTF Custom Actions, and I am using:

Most are Message failures in try catch exception:
catch (Exception ex)
            {
                WriteErrorLogInstall(session, "CheckIfServerOffline failed:
", ex, true);
                if (session != null)
                {
                    session.Message(
                        InstallMessage.User + (int)MessageBoxIcon.Error +
(int)MessageBoxButtons.OK,
                        new Record { FormatString = "Setup could not verify
this blah blah.\nException: " + ex.Message });
                }

                return ActionResult.Failure;
            }

However I do have 1 or two messages I do want to show for info reasons for
the user:
session.Message(
                        InstallMessage.User + (int)MessageBoxIcon.Warning +
(int)MessageBoxButtons.OK, 
                        new Record { FormatString = "some important message
to view." });

But I would like to show that warning message that is NOT part of an catch
exception, is that possible?

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Show-session-Message-during-silent-install-tp7585420.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to