Hi,

 

I got the following error on Nant 0.85 RC1 when trying to create an MSI.

 

System.InvalidOperationException: There is an error in XML document (1, 2). --->

 System.InvalidOperationException: <msi xmlns='http://nant.sf.net/schemas/nant-0

.85.win32.net-1.0.xsd'> was not expected.

   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read

46_msi()

   --- End of inner exception stack trace ---

   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, St

ring encodingStyle)

   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)

   at NAnt.Contrib.Tasks.SchemaValidatedTask.InitializeTask(XmlNode TaskNode)

   at NAnt.Contrib.Tasks.Msi.MsiTask.InitializeTask(XmlNode TaskNode)

   at NAnt.Core.Task.InitializeElement(XmlNode elementNode)

   at NAnt.Core.Element.Initialize(XmlNode elementNode, PropertyDictionary prope

rties, FrameworkInfo framework)

   at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target)

   at NAnt.Core.Target.Execute()

   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)

   at NAnt.Core.Tasks.CallTask.ExecuteTask()

   at NAnt.Core.Task.Execute()

   at NAnt.Core.Target.Execute()

   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)

   at NAnt.Core.Project.Execute()

   at NAnt.Core.Project.Run()

 

Please send bug report to [EMAIL PROTECTED].

 

 

The smallest fragment of an <msi> task I can get this error to occur with is as follows;

 

                <msi output="CitizenAccountSetup.msi" sourcedir="C:\Projects\Relate\CitizenAccountDatabaseManager\Citizen Account DB Manager Setup\Release" template="${nant.location}/MSITaskTemplateVS.msi" license="c:\data\prerequisites\license.txt">

                  <properties>

                        <property name="ProductCode" value="{410A4ED8-A1B3-4745-8DCE-E08910F5843C}" />

                  </properties>

                </msi>

 

 

Thanks,

--Mark.

 

Mark Davidson

Project Manager

VisionWare plc

105 West George St.

GLASGOW

G2 1PB

Tel.         +44 (0)1412857150

Fax.        +44 (0)1412857159

Mobile.  07789 904695

 



_____________________________________________________________________________
The content of this e-mail is confidential and intended solely for the use of the individual to whom it is addressed. If you have received this e-mail in error please notify the sender. Any use, dissemination, forwarding, printing, or copying of this e-mail or any attachments thereto, in whole or part, without permission is strictly prohibited.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
_____________________________________________________________________________

Reply via email to