Windows Installer simply does not support Raghu's scenario. There are no events
you can subscribe to that are triggered by adding chars to a text box.
1st problem: you have to remove the focus from the text box before the text
box's content is ever placed into a property you can ever access.
2nd problem: you can't run a custom action to verify the value in the text box
until you trigger an event that can run that action, and that usually requires
a button press (focus change from a text box can't be subscribed to either).
Limitations like this are some of the reasons that non-MSI UI is recommended.
One example of better UI is Jacob's suggestion.
> From: jacob.hoo...@greenheck.com
> To: raghu_ti...@yahoo.com; wix-users@lists.sourceforge.net
> Date: Thu, 11 Jul 2013 01:42:53 +0000
> CC: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Dynamically bind UI Control values
>
> I don't believe Windows installer would support this, even if it did one
> could use orca to bypass it. If it were me I would use burn and a custom
> ux/ba.
>
>
>
> On Jul 10, 2013, at 8:02 PM, "Raghu" <raghu_ti...@yahoo.com> wrote:
>
> > Hello WIX Experts,
> >
> > The following is my scenario:
> >
> > On a UI Dialog, I have an edit control, some text controls, and push
> > buttons (Back, Next, Cancel) as part of a wizard sequence. The user enters
> > a KEY in the edit control, following which a custom action is to be
> > invoked, which takes the KEY entered in the text control, does validation,
> > decodes and publishes certain properties.
> >
> > Now I have 2 questions here...
> >
> > 1) the properties published by the custom action is to be reflected in the
> > text control without refreshing the dialog (No child or new dialogs
> > please). How can I achieve that? Can I subscribe to events from another
> > control?
> >
> > and
> >
> > 2) I only want the custom action to be invoked only when the user enters
> > the complete key (for e.g. 12 characters to be exact) and not as part of
> > clicking Next as it is expected to be disabled until the custom action does
> > the validation following which the Next Push Button is to be enabled?
> >
> > The first one is more important for my scenario. Any inputs would be really
> > great
> >
> > Raghu
> > Microsoft Corp, Redmond.
> > ------------------------------------------------------------------------------
> > See everything from the browser to the database with AppDynamics
> > Get end-to-end visibility with application monitoring from AppDynamics
> > Isolate bottlenecks and diagnose root cause in seconds.
> > Start your free trial of AppDynamics Pro today!
> > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users