I'm using WiX 3.6.2221.0 (beta) and found that if I create a component 
that only has RemoveFile elements, an error and stack trace are displayed:

candle.exe(0,0): error CNDL0001: Cannot set column 'Component' with a 
null value because this is a required field.
         Exception Type: System.InvalidOperationException
         Stack Trace:
            at 
Microsoft.Tools.WindowsInstallerXml.ColumnDefinition.ValidateValue(Object value)
            at 
Microsoft.Tools.WindowsInstallerXml.Compiler.ParseComponentElement(XmlNode 
node, ComplexReferenceParentType parentType, String parentId, String 
parentLanguage, Int32 diskId, String directoryId, String srcPath)
            at 
Microsoft.Tools.WindowsInstallerXml.Compiler.ParseComponentGroupElement(XmlNode 
node, ComplexReferenceParentType parentType, String parentId)
            at 
Microsoft.Tools.WindowsInstallerXml.Compiler.ParseProductElement(XmlNode 
node)
            at 
Microsoft.Tools.WindowsInstallerXml.Compiler.ParseWixElement(XmlNode node)
            at 
Microsoft.Tools.WindowsInstallerXml.Compiler.Compile(XmlDocument source)
            at 
Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args)

The source is similar to:

<Component>
<RemoveFile Id="app.exe" On="both" Name="app.exe" Directory="SomeFolder"/>
</Component>

I guess something should be catching the error sooner?

-- 
Bruce Cran

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to