I'm trying to achieve the same functionality that NAnt provides with the
property::get-value function in WiX.

I have a list of languages that I need to loop through like so:
<?define chs_cost = ... ?>
<?define cht_cost = ...?>

<?foreach lang in chs,cht,deu,fra,jpn,kor ?>
<?define cost = $($(var.lang)_cost)       --> Trying to do
property::get-value(var.lang + '_cost')
<?foreach>

If that's not possible, can I just create a wix extension in which I
implement my own property::get-value function? I looked at this as I already
have a wix extension created but I couldn't find a list of variables or
something in a hash table I could query.

Thoughts?
-- 
View this message in context: 
http://n2.nabble.com/Is-it-possible-to-dynamically-access-a-define-variable-in-WiX-tp4582645p4582645.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to