Christopher, Recently nightly builds no longer create a Temp directory in the sourcedir, but instead create a unique temporary directory.
Can you try using a recent nightly build (http://nantcontrib.sourceforge.net/nightly/latest)? Thanks, Gert > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Cuadras, Christopher (P&C, PL) > Sent: donderdag 31 maart 2005 22:49 > To: 'nantcontrib-developer@lists.sourceforge.net' > Subject: [NAntC-Dev] MSI - > System.IO.DirectoryNotFoundException - \Temp > > > I am working on a simple NAnt build in which the msi tasks fails. > > The error states that the process "Could not find a part of > the path" for > > a directory named "Temp". > > > > The directory specified in the error message is > "c:/TypeFinder/bin/Temp", > > the first part before "Temp" is the output directory for > the vbc compile. > > TypeFinder is a sample app from the .NET SDK samples with 1 vb file. > > > > I tried creating a "Temp" directory off of > "c:/TypeFinder/bin" but the > > directory gets deleted by the msi task when it runs. > > > > Does anyone know: > > > > 1) Why is a directory named "Temp" being created off of the > directory I > > specify for the msi "sourcedir" attribute? > > 2) Why is this "Temp" directory not created by msi if it > needs it to run? > > 3) Why, if the directory is created before running the > build, does msi > > delete "Temp"? > > 4) Is there a solution to this problem? It would seem there > is simply > > something missing in my configuration in terms of a setting or maybe > > another nested element is required within msi to resolve. > > > > Any and all information would be greatly appreciated. > > Thanks very much in advance, > > > > Here is the target that invokes the msi task: > > (note the template attribute did not have any effect on the > outcome, fails > > with or without) > > > > Version info (problem occurs w/ both rc1 and rc2 of 0.85): > > nant-0.85-rc1 / nant-0.85-rc2 > > nantcontrib-0.85-rc1 / nantcontrib-0.85-rc2 > > > > <target name="package"> > > > > <msi sourcedir="${bindir}" > > output="${msidir}${basename}.msi" > > template="C:\nantcontrib-0.85-rc1\bin\MSITaskTemplate.msi" > > verbose="true"> > > > > <properties> > > <property name="ProductName" > value="Prototype" /> > > <property name="ProductVersion" value="1.0.0" /> > > <property name="Manufacturer" > value="The Hartford." > > /> > > <property name="ProductCode" > > value="{6FF45A48-BD4D-4AD8-9EB0-B71EF712D930}" /> > > </properties> > > > > <features> > > > > <feature name="Feature1" > > title="Prototype" > > display="0" > > typical="true" > > directory="${targetdir}" > > > > > <description>Prototype</description> > > > > </feature> > > > > </features> > > > > </msi> > > > > </target> > > > > Here is the build output: > > > > C:\TypeFinder\build\NAnt\build.xml(75,4): > > Unable to build MSI database 'c:/TypeFinder/deploy/TypeFinder.msi'.: > > NAnt.Core.BuildException: C:\TypeFinder\build\NAnt\build.xml(75,4): > > Unable to build MSI database > 'c:/TypeFinder/deploy/TypeFinder.msi'. ---> > > System.IO.DirectoryNotFoundException: Could not find a part > of the path > > "c:/TypeFinder/bin/Temp". > > at System.IO.__Error.WinIOError(Int32 errorCode, String str) > > at > System.IO.Directory.InternalGetFileDirectoryNames(String fullPath, > > String userPath, Boolean file) > > at System.IO.Directory.InternalGetFiles(String path, > String userPath, > > String searchPattern) > > at System.IO.Directory.GetFiles(String path, String > searchPattern) > > at > > > NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.ReorderFiles(I > nstallerData > > base database, Int32& LastSequence) > > at > > > NAnt.Contrib.Tasks.Msi.MsiCreationCommand.LoadTypeSpecificData > FromTask(Ins > > tallerDatabase database, Int32 lastSequence) > > at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute() > > --- End of inner exception stack trace --- > > at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute() > > at NAnt.Contrib.Tasks.Msi.MsiTask.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() > > > > Christopher W. Cuadras > > Architect, eB&T CTO Service Management > > [EMAIL PROTECTED] > > 860.547.5707 > > > ************************************************************** > *********** > 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. > ************************************************************** > *********** > > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > NAntContrib-Developer mailing list > NAntContrib-Developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer > ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ NAntContrib-Developer mailing list NAntContrib-Developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer