Gert, You're the very best! The problem went away with matching NAnt(nant-0.85-nightly-2005-03-31). Thanks for bearing with me as I learn the rules of the road. I originally did not consider a dependency with the NAnt package but it makes sense. Going forward I will be sure to always use the same version of NAnt and NAntContrib. Thanks very much,
Jim, Thanks for the sample zip, all is working now. Best regards, Chris. -----Original Message----- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 12:20 PM To: Cuadras, Christopher (P&C, PL); 'Jim Geurts' Cc: nantcontrib-developer@lists.sourceforge.net Subject: Re: [NAntC-Dev] InstallerCreationCommand.AddFiles Error Christopher, You should use a version of NAnt that matches the version of NAntContrib that you're using. Gert ----- Original Message ----- From: "Cuadras, Christopher (P&C, PL)" <[EMAIL PROTECTED]> To: "'Jim Geurts'" <[EMAIL PROTECTED]> Cc: <nantcontrib-developer@lists.sourceforge.net> Sent: Tuesday, April 05, 2005 5:33 PM Subject: RE: [NAntC-Dev] InstallerCreationCommand.AddFiles Error > Jim, > > I created a directory named msi_test and unzipped the archive you attached > below into it. > The subdirectories are there under msi_test w/ the required files. > > The error with addfiles occurs with these files as well. > Attached is the command file I used to run NAnt(run.txt- a cmd file, txt so > it will mail), the build file(default.build), and the build output(out.txt). > > Any idea why addFiles is failing? > > Thanks very much in advance for your help, > > Chris. > > > -----Original Message----- > From: Jim Geurts [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 9:45 AM > To: Cuadras, Christopher (P&C, PL) > Cc: nantcontrib-developer@lists.sourceforge.net > Subject: Re: [NAntC-Dev] InstallerCreationCommand.AddFiles Error > > > Hi Chris, > > What version of NAntContrib are you using? To generate an install w/ the > sample from the wiki, you should use a 0.85 RC release or newer... > > I've included a zip that I used to verify that the sample (with minor > directory edits) works with the latest code... Just rename the file > extension to .zip > > Jim > > > > On Apr 5, 2005 8:24 AM, Cuadras, Christopher (P&C, PL) < > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: > > > I have been experiencing problems running this example msi task from the > wiki: > http://nant.sourceforge.net/wiki/index.php/sample%20build%20file > <http://nant.sourceforge.net/wiki/index.php/sample%20build%20file> > > The problem is, when I run I get this error when the components element is > being processed (addFiles): > > C:\TypeFinder\build\NAnt\samp.xml(37,10): > Unable to build Installer database 'MyCompany.MyProduct.msi'.: > NAnt.Core.BuildException: C:\TypeFinder\build\NAnt\samp.xml(37,10): > Unable to build Installer database 'MyCompany.MyProduct.msi'. ---> > System.MissingMethodException: Method not found: NAnt.Core.Element > NAnt.Core.Element.InitializeBuildElement(NAnt.Core.Element, > System.Xml.XmlNode, NAnt.Core.Element, System.Type). > at > NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.AddFiles(InstallerDatabase > database, InstallerTable directoryTable, MSIComponent Component, > InstallerTable fileTable, String ComponentDirectory, String ComponentName, > Int32& Sequence, InstallerTable msiAssemblyTable, InstallerTable > msiAssemblyNameTable, InstallerTable componentTable, InstallerTable > featureComponentTable, InstallerTable classTable, InstallerTable > progIdTable, InstallerTable selfRegTable, InstallerTable modComponentTable) > at > NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.LoadComponents(InstallerData > base database, Int32& LastSequence) in > d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\InstallerCreationComman > d.cs:line 2718 > at > NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.LoadCommonDataFromTask(Insta > llerDatabase database, Int32& fileSequenceNumber) in > d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\InstallerCreationComman > d.cs:line 2844 > at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute() in > d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\InstallerCreationComman > d.cs:line 2814 > --- End of inner exception stack trace --- > at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute() in > d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\InstallerCreationComman > d.cs:line 2825 > at NAnt.Contrib.Tasks.Msi.MsiTask.ExecuteTask() in > d:\Source\nantcontrib-20050322T055212Z\src\Tasks\Msi\MsiTask.cs:line 385 > 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() > > I made two changes to the original > > 1) Added: <loadtasks > assembly="C:/nantcontrib-0.85-nightly-2005-03-31/bin/NAnt.Contrib.Tasks.dll" > /> > To load the contrib task > > 2) Changed the source.dir property value to c:/TypeFinder/Source > > Any and all help would be greatly appreciated. > Chris. > > ************************************************************************* > PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595 > <http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click> > &alloc_id=14396&op=click > _______________________________________________ > NAntContrib-Developer mailing list > NAntContrib-Developer@lists.sourceforge.net > <mailto:NAntContrib-Developer@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer > <https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer> > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ NAntContrib-Developer mailing list NAntContrib-Developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer