Maybe I don't understand the GetVariableValue method, but it seems to need a
prefix and a variable name. What if I want the normal variables with the
prefix of "var" like $(var.myVariableName)? I didn't see any options to get
the variables you defined in the wix source. Like I was thinking of
something like:
<?define cost = 55 />
<Property Id="TEST" Value="$(Blah.GetValue(cost))" />
In this case, the prefix is var.
I am envisioning something like:
<?define chs_cost = 55" />
<?foreach lang in chs;cht..?>
<Property Id="TEST" Value="$(Blah.GetValue($(lang)_cost))" />
<?endforeach>
This would end up pass values like chs_cost and cht_cost to the extension.
Then I would like to say GetVariableValue("var", "chs_cost") and it would
give me a value of 55.
Make sense?
I'm just not seeing how I would implement this. Am I on the write track? If
I want to access already defined variables that have a prefix of var, what
do I need to call?
Thanks
--
View this message in context:
http://n2.nabble.com/Is-it-possible-to-dynamically-access-a-define-variable-in-WiX-tp4582645p4583797.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users