[wix-users] Wix-Burn: Displaying optional message (like a warning)

Alan Andrews alandrew at microsoft.com
Thu Nov 19 13:36:46 PST 2015


Hello,

I was wondering if there is any way to display an optional message using Wix-Burn?  For example,  there exists the bal:Condition tag that handles displaying a blocking error message if the condition is false.  What I would like to have is something similar that displays something like a warning message that the user can click past, if they wish to continue with the installation anyways.  I've been researching online and the closest thing I could find is a stackoverflow post about how to handle this at the MSI level (create blank property.  Have custom action that checks to see if the property is not-blank, then display a new UI for the warning).  I can't envision this approach working for the burn installer since I cannot find an element that lets me conditionally set a property within the Bundle element.

We did create our own "Managed Bootstrapper Application" as we needed to customize our setup a little bit, however we've designed it to be generic because we have a few other teams who wish to use it as well.  I imagine I'll need to have our bootstrapper application be knowledgeable about these warnings, but I'm not quite sure of the best way to represent capturing this information within the wxs file.  Do you have any guidance about how best to approach this?

We're using Wix 3.8.  We do plan on upgrading, but there are some reasons that prevent us from doing so at the moment.

Thanks!
Alan.


More information about the wix-users mailing list