To get wix to use the var it has to run in the context where the
$(ConfigurationName) is set (candle compile). 

You then compile wixobj with: candle.exe -dMyVar =
$(ConfigurationName)...
Then you should be able to access the $(var.MyVar) in the wix code. 

Usually this is set up in a msbuld script and passed when compiling the
wxs files to wixobj.

morten  

 Message: 6
Date: Mon, 6 Nov 2006 14:20:58 +0100
From: "Friedrich, Oliver" <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] preprocessor variable $(var.Build)
To: <wix-users@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

 
Alright, just found out, where this variable was set. It is set on the
commandline while calling the batch-file to start the compilation of the
setup.
 
The batch-file is called as "Pre-build event command line" in VS2005.
The variable "var.Build" is set to the value of "$(ConfigurationName)".
The last is homemade of VisualStudio. How can I access this
"ConfigurationName" under WiX-V3?
 
Sorry for the trouble...
 
Oliver


________________________________

        From: Bob Arnson [mailto:[EMAIL PROTECTED] 
        Sent: Friday, November 03, 2006 6:04 PM
        To: Friedrich, Oliver
        Cc: wix-users@lists.sourceforge.net
        Subject: Re: [WiX-users] preprocessor variable $(var.Build)
        
        
        Friedrich, Oliver wrote: 

                No, we did not use Votive V2, just plain wxs-files that
we added to a simple solution, we did not use Votive V2.


        Sorry, I'm not understanding. Are you asking how to set the
Build variable using Votive? 
        
        
        -- 
        sig://boB
        http://bobs.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments
/20061106/70c1b015/attachment.html 

------------------------------

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


End of WiX-users Digest, Vol 6, Issue 21
****************************************

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to