as the -out parameter is optional, can't you just leave it out?
On 5/14/07, John Lalande <[EMAIL PROTECTED]> wrote:
The help information for candle indicates that I can specify more than one
sourceFile argument and only specify one outputFile argument.
usage: candle.exe [-?] [-nologo] [-out outputFile] sourceFile [sourceFile
...]
However when I attempt something like:
C:\>candle -out ab.wixobj a.wxs b.wxs
I get the following error:
candle.exe : error CNDL0001 : cannot specify more than one source file
with single output file. Either specify an output directory for the -out
argument by ending the argument with a '\' or remove the -out argument to
have the source files compiled to the current directory.
Parameter name: -out
This certainly has valid workarounds that I have employed in my build
scripts, but our daily integration build process uses msbuild and I would
really like to use wix.targets in our builds. But it also has this candle
"problem". If I create more than one "Compile" item and specify a single
"CompileObjOutput" item, my msbuild script aborts with the same error
message as above.
There isn't any documentation for wix.targets v2.0.4820.0 (which is what I
am using), but there's some in the 3.0.2420.0 version that indicate that
what I am attempting is indeed correct.
Am I missing something painfully obvious or is this simply broken? I am
more likely to believe that I am missing something yet I cannot find what it
might be by reading documentation, googling or searching this mailing list.
Does anyone here know what I am doing wrong or not understanding?
John
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
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