Can anybody please tell me how to pass the preprocessor variables in
msbuild?
I have an include file which has things like

<?ifndef rootdir ?>

<?define rootdir = "..\"?>

<?endif ?>

<?ifndef srcrootdir ?>

<?define srcrootdir = "..\"?>

<?endif ?>

and I use these in my actual wix files.



I am using msbuild target and I wanted to know how I can pass these
variables? I do this but for some reason I can't get these passed.

<MSBuild Projects="$(ROOT)\INSTALLERS\Test.wixproj" Properties="
Configuration=Release;Platform=x86;rootdir=$(ROOT)\qa\;srcrootdir=$(ROOT)\;"
>

</MSBuild>



Can somebody please reply?

Thanks a lot.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to