Kudos to WIX! I’ve finally convinced my company to start utilizing WIX (instead of built in VS setups) and everyone has been more than happy so far.
I’m currently creating a custom database dialog. I have conditions on the next button which check if the SQL Server edit box is empty or not. It also is checks that the username and password edit boxes are not empty if the SQL authentication radio button is selected. This works fine except that the condition on the next button only seems to be checked when the current control looses focus rather than immediately when text is entered. I’ve searched the forums and seen that other people have asked this and was told that windows installer properties were only updated when focus changes. Is there a way to do this utilizing a custom action? The custom action seems to execute after each character is entered, or when the control is gets or looses focus, but of course the condition on the next button still doesn’t seem to be checked until the focus is changed to the next control. Can I force the Next buttons conditions to be evaluated from a custom action? Is there some kind of ‘magic’ to trick the dialog into thinking that focus has changed from a custom action? Can I enable\disable the next button directly from within a custom action? Is there another easier solution? Am I just overlooking something simple? Thanks! -- View this message in context: http://www.nabble.com/Access-a-button-control-from-a-custom-action--tp15365208p15365208.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users