Looking at my copy of wix.targets from that build, the Candle task has the
following values (among others):
      SourceFiles="@(Compile)"
 
OutputFile="$(IntermediateOutputPath)%(Compile.Filename)$(IntermediateExt)"

Written that way, the concept is called "task batching" and you get separate
invocations of Candle for each file you are compiling, which will prevent
that error, unless you have a filename containing a ';' character?

-----Original Message-----
From: Lars Von Wedel [mailto:vonwe...@web.de] 
Sent: Thursday, October 21, 2010 4:10 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Multiple source files with MSBuild

Hello,

I tried to run Wix (v3.0.5419) from an MSuild file to build an installer for
my project. However, an error "CNDL0001: Cannot specify more than one source
file ..." occurs.
In the mailing list archives I found a rather old thread about the topic
[1], but none of the proposed solutions solved the problem.

What is the proposed workaround for this problem ? Or is it solved in a more
recent version of Wix?

Lars

[1]
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/multiple-sourc
e-files-to-candle-td701211.html
___________________________________________________________
Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02

----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to