You need to pass in the VS variable value on the WiX project's "command
line", by doing something like this:

In the build properties for your WiX project, you can define preprocessor
variables, and there you could specify something like
MYCONFIG=$(Configuration)

Then you can test the MYCONFIG variable in WiX code by using something like
this:

 <?if $(var.MYCONFIG)="DEBUG" ?>
  <?do something?>
  <?else ?>
  <?do something different?>
  <?endif ?>


-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/msbuild-variables-in-wix-source-files-tp5797212p5797297.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to