I'm trying to use a CustomAction to do some evaluation, and modify an on-screen 
Windows Installer dialog.  The scenario is this:

1)      User enters some text in an edit control

2)      User clicks a button which invokes a custom action to evaluate the 
entered text

3)      Custom action completes, and some new text is shown to the user *in the 
same dialog*

I've envisioned two ways of building this:

1)      (ideal) Some Text Control lives on the dialog with Text= some property. 
 The CustomAction modifies the property value, and the text control displays 
the new value.

2)      I create a text control for each possible string I want to show all 
overlapping.  The CustomAction either hides/shows the appropriate control, or 
sets some property which triggers a bunch of show/hide Conditions on each text 
control.

The problem I'm running into is that I can't seem to get Windows Installer to 
re-evaluate any properties after the custom action ends.  For example, I have a 
button that runs my custom action and it changes the property, but the UI 
doesn't update. If I spawn a dialog however (by hitting cancel for example) 
then the UI updates.

Does anyone know of a clever way to tickle Windows Installer into re-evaluating 
properties after the CustomAction ends?

Thanks
-Dan
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to