Hi,
I have a custom dialog that includes an edit box that is pre-populated
with the value of a property [MY_REAL_VALUE].
Another property, MY_FOUND_VALUE, is set via RegistrySearch.
If the user did not supply MY_REAL_VALUE in the command line, I want to
set MY_REAL_VALUE = MY_FOUND_VALUE. This way the custom dialog will
have the correct initial value.
Following the example in Section 3.2 of the WiX tutorial, I created a
custom action to set MY_REAL_VALUE = MY_FOUND_VALUE.
<CustomAction Id="MyAssign" Property='MY_REAL_VALUE'
Value='[MY_REAL_VALUE]' />
I'm sequencing it like this;
<Custom Action=" MyAssign" After="CostInitialize">1</Custom>
(yes I know the condition is incorrect)
but this custom action does not run before my dialog is displayed.
Three questions;
1) Is my CA correct?
2) How do I sequence the CA so it executes before my UI is displayed?
3) How do I condition the CA to only execute if MY_REAL_VALUE is empty?
Thanks for any help.
Dale
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users