yapuro wrote:
> I created a new WIX project in VS 2005. I want to pickup files of a windows
> application project as the source files. But is there a property\variable i
> can directly use to get the build type('Debug' or 'Release').
> For example i want to get the files inside 'RenderingService\bin\Debug' or
> 'RenderingService\bin\Release'  based upon the build type of the visual
> studio solution. How can i achieve this. I tried the following but it didnt
> work.
>   

Personally, define it on the command line of light and candle 
(-dCONFIG=$(CONFIG)), and then use it inside the .wxs file as:

<WixVariable Id='CONFIG' Overridable='yes' Value='Release' />

....

<File Id='TSEXE' Name='ts.exe' Source='!(wix.CONFIG)\ts.exe' />



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to