Hi ,... I am using preprocessor variables for the same purpose.
In the begining of my wxs file there is definition of variables: <?ifdef RELEASE ?> <?define DebugReleaseDir=Release ?> <?else ?> <?define DebugReleaseDir=Debug ?> <?endif ?> The file is compiled with command line candle.exe -dRELEASE source.wxs for release version and candle.exe source.wxs for debug. Inside the components I am using variable $(var.DebugReleaseDir) to get the correct name/path. Hope this helps you... Stefan Christer Solskogen wrote: > I'm working on a project which have both a debug build and a release > build, and our goal is to make a MSI-package for both of them. > Normally this is not a big problem, but in our case the files used in > debug does not have the same name as in the release build. > Is it possible to solve this in a normal matter, without using to much > search/replace or maintaining two wix files? > -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103 Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users