1) Is my CA correct?
Yes
2) How do I sequence the CA so it executes before my UI is displayed?
Put it under InstallUISequence
3) How do I condition the CA to only execute if MY_REAL_VALUE is empty?
<Custom Action=" MyAssign" After="CostInitialize">NOT MY_REAL_VALUE</Custom>
Good luck,
Dacian
----- Original Message ----
From: Dale Quigg <[EMAIL PROTECTED]>
To: wix-users@lists.sourceforge.net
Sent: Thursday, June 7, 2007 5:19:37 PM
Subject: [WiX-users] How to override RegistrySearch property?
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times
New Roman";}
a:link, span.MsoHyperlink
{color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;margin-bottom:.0001pt;font-size:10.0pt;font-family:"Courier
New";}
_filtered {margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
{}
-->
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
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today!
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
-------------------------------------------------------------------------
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