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

Rob Mensching rob at firegiant.com
Thu Nov 19 14:14:37 PST 2015


That's a UI thing so it falls completely in the domain of the BA. You could have a custom table set to BootstrapperApplicationData='yes' (or an Extension to make it pretty) to pass authored data to the BA via the BootstrapperApplicationData.xml. That's what wixstdba does for the bal:Condition.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Alan Andrews
Sent: Thursday, November 19, 2015 1:37 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Wix-Burn: Displaying optional message (like a warning)

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