To overcome some problems with a standard Visual Studio 2005 setup project I
have migrated it into WiX worlds. 

Everything seems to work fine but I don't know how to produce two versions
of builds: debug build and release build. 

My current version of the script can be only used to create a DEBUG version,
since the path
to source file is hardcoded in the script:


<File Id='Manual' Name='Manual.pdf' DiskId='1'
Source='..\SubProject1\Bin\Debug\App.exe'>


Is there any way to determine a type of build during the build step to
automatically produce both release/debug versions using the same script?

Ideally I would like to have $DebugOrRelease which is set to Debug if a
debug version being build,
or Release, otherwise: 


<File Id='Manual' Name='Manual.pdf' DiskId='1'
Source='..\SubProject1\Bin\[$DebugOrRelease]\App.exe'>


-- 
View this message in context: 
http://www.nabble.com/How-to-organize-debug-release-builds-using-the-same-WiX-script-%28.wxs%29-tf4229683.html#a12032945
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to