Sure there is:
<?if $(var.Configuration)=="Debug"?>
<?define MyVar="MyDebugVal"?>
<?else?>
<?define MyVar="MyReleaseVal"?>
<?endif?>

See  Using Project References and Variables
<http://wixtoolset.org/documentation/manual/v3/votive/votive_project_references.html>
  
for more preprocessor variables, and  Preprocessor
<http://wixtoolset.org/documentation/manual/v3/overview/preprocessor.html>  
on how to use them.



-----
Nir Bar 
Freelance Developer 
Mail: nir....@panel-sw.com 
Web: www.panel-sw.com 
   - C++ On Windows, Linux and Embedded Platforms 
   - WiX & InstallShield 
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-property-values-based-on-Visual-Studio-build-configurations-tp7599969p7599984.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to