In article 
<d91a1dd8a8f2ba459644b8f3b7e517ddad079cd...@exvmbx015-4.exch015.msoutlookonline.net>,
    Tom Crozier <tcroz...@rackwise.com>  writes:

> All -
> Is there a way to refresh a dialog when checking a checkbox?
> 
> I have a dialog with a checkbox control on it to give the user the ability to
 use the default options. When selected I have tried adding Publish Property to
 reset the other control values back to defaults as well as calling a custom ac
tion via DoAction. While these do reset the values back to the default ones it 
does not update the dialog so the user still sees the old ones. If you select B
ack then Next you see the values but how can I get the dialog to refresh?

What does the custom action do?  Does it change properties?

As a debugging aid, try removing the custom action from the published
events.  Does it not update properly?  If so, then you're falling
victim to the way Windows Installer doesn't recognize property changes
properly after calling a custom action in the UI.

See this blog post I wrote for a workaround:

UI Custom Action Guidelines
<http://legalizeadulthood.wordpress.com/2009/10/23/ui-custom-action-guidelines/>
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to