AFAIK you can't. What you can do, is change property values at runtime, 
like this:
    <Property Id="VAR">test</Property>
    <CustomAction Id="CustomAction1" Return="check" Execute="immediate" 
Property="VAR" Value="Something Else"/>
And of course, giving the custom action a proper sequence. However, this 
may or may not work according to how you use the variable at your 
project. How are you intending to use that var, and what do you want to 
accomplish? Maybe there is another way to do it.

K-ballo.-

oesimartin escribió:
> How can I set a variable at setup runtime with a custom action?
>
>
> The definition of the variable:   <?define VAR = "test"?>
>
> Now I want to change the variable value from "test" to a global property
> value. How to do so?
>
> Please help me!
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to