Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#21 MSI Task error

open
nobody
None
5
2005-09-28
2005-09-28
jerry
No

Im trying to use Msi task and when I insert the
node 'components' it always returns an error.

The error changes if I change the order in which the child
nodes of msi task are written, but it always show that
components it's not a valid child node of msi.

This is the error that I'm getting:

Validation Error: The
element 'NAnt.Contrib.Tasks.Msi.MsiTask:msi' has
invalid child element 'NAnt.Contrib.Tasks.Msi.MsiTask
:components'.
Expected 'NAnt.Contrib.Tasks.Msi.MsiTask:binaries
NAnt.Contrib.Tasks.Msi.MsiTask:customactions
NAnt.Contrib.Tasks.Msi.MsiTask:sequences
NAnt.Contrib.Tasks.Msi.MsiTask:actiontext
NAnt.Contrib.Tasks.Msi.MsiTask:appmappings
NAnt.Contrib.Tasks.Msi.MsiTask:urlproperties
NAnt.Contrib.Tasks.Msi.MsiTask:vdirproperties
NAnt.Contrib.Tasks.Msi.MsiTask:approots NAnt.C
ontrib.Tasks.Msi.MsiTask:iisproperties
NAnt.Contrib.Tasks.Msi.MsiTask:launchconditions
NAnt.Contrib.Tasks.Msi.MsiTask:features
NAnt.Contrib.Tasks.Msi.MsiTask:mergemodules'. An
error occurred at , (22, 4).

Thanks in advance.

Discussion