The sample that Harold Wood posted is for MSI dialogs, not the burn bootstrapper. The standard bootstrapper is very limited in what it can do, unfortunately. Most of which is pretty hard coded.
The Wix installer (in the burn solution) is a good sample on how to quickly write your own if something simple will work for you. By & large if you have a standard approach it's probably easier to author your own in a WPF app. You can use the balextensions functionality to do some of this work, but I strongly suggest you don't go that route. It's very limited and what you can author in the theme files makes it so you're hardcoding everything anyway. There's a need for something like XAML Bindings; e.g. Content="{Binding someVariable" and I have mocked up support for it in a branch. You can see my commit to get the starting point for the changes here: https://wix.codeplex.com/SourceControl/network/forks/bryanwolf/AddBindingsToBurn/changeset/f976392586ccd57864ca09e7745c2c51b25d288a. Unfortunately, due to work agreement, the copyright of that code is muddy waters (which is why I haven't pushed the remaining work to make it more complete nor submitted a pull request/official RFC). But I would say feel free to create your own fork from the base wix38 branch if you're feeling adventurous and I'll be glad to give advice where I can :-) Anyway, just my thoughts. -----Original Message----- From: Joel Dart [mailto:jd...@dyknow.com] Sent: Monday, March 10, 2014 1:45 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Require fields/disable InstallButton in bootstrapper Thanks Harold, I've been trying to get custom actions to work from the WixStandardBootstrapperApplication without much luck. When I look in the xsd, it doesn't have Control as an option for Page. Additionally, when just trying to sub in Control for Button, the built bootstrapper immediately crashes. Is the example you're using work on the bootstrapper or will it only work when customizing the msi? When looking around the source for the WixStandardBootstrapperApplication, it looks like the enable/disable is being handled explicitly in the code versus the _____State variable trick. My gut is telling me this cannot be done without implementing a custom bootstrapperapplication. ________________________________________ From: Harold Wood (H10 Capital) [v-wow...@microsoft.com] Sent: Friday, March 07, 2014 2:40 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Require fields/disable InstallButton in bootstrapper I use a custom action that gets fired when they click the next button, if there is an error it takes me to my error dialog, the next button on that loops me back to this dialog so the newly entered value can get validated again. <Control Id="NextDlg" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next"> <Publish Event="DoAction" Value="VerifySQLServer">1</Publish> <Publish Event="DoAction" Value="VerifySQLServer.Get">1</Publish> <!-- if there is a server error redisplay the database screen else go to the verify screen --> <Publish Event="NewDialog" Value="DialogError"><![CDATA[SERVERERROR~="1"]]></Publish> <Publish Event="NewDialog" Value="DialogVerify"><![CDATA[SERVERERROR~="0"]]></Publish> </Control> ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users