I've seen various posts regarding this error but no definitive solution.

 

I believe it has to do with the attempt to access a temp file in a
location that does not exist.

 

Cabarc and cabinet.dll are in my path, executable from the command line.

 

Here is my debug output.  Thanks for any help you may be able to
provide.

 

Buildfile: file:///C:/BUILD/build.xml <file:///C:\BUILD\build.xml> 

Target framework: Microsoft .NET Framework 3.5

Base Directory: C:\BUILD.

Target(s) specified: updateversion

 

Build sequence for target `updateversion' is version, package,
updateversion

Complete build sequence is version, package, updateversion, clean,
get_IQFramewo

rk, compile_IQFramework, copy_IQFramework_Assemblies, get_IQ9,
compile_IQ9, copy

_IQ9_Assemblies, copy_IQ9, copy_ServerManager

 

version:

 

  [version] Build number '0.0.1.5879'.

 

package:

 

      [msi] Building Installer Database
'c:\build\builds\IQ9-0.0.1.5879.msi'.

      [msi] Adding Properties:

      [msi]  ProductName

      [msi]  ProductVersion

      [msi]  Manufacturer

      [msi]  ProductCode

      [msi]  UpgradeCode

      [msi] Compressing Files...

                 [exec] Starting 'cabarc (-r N
C:\BUILD\Staging\IQ9-0.0.1.5879.c

ab *)' in 'C:\Documents and Settings\sking\Local
Settings\Temp\tmpF3.tmp'

 

BUILD FAILED

 

C:\BUILD\build.xml(123,6):

Unable to build Installer database
'c:\build\builds\IQ9-0.0.1.5879.msi'.:

NAnt.Core.BuildException: C:\BUILD\build.xml(123,6):

Unable to build Installer database 'c:\build\builds\IQ9-0.0.1.5879.msi'.
---> C:

\BUILD\build.xml(123,6):

Error creating cab file.:

NAnt.Core.BuildException: C:\BUILD\build.xml(123,6):

Error creating cab file. ---> 'cabarc' failed to start.:

NAnt.Core.BuildException: 'cabarc' failed to start. --->
System.ComponentModel.W

in32Exception: The directory name is invalid

   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo
startIn

fo)

   at System.Diagnostics.Process.Start()

   at NAnt.Core.Tasks.ExternalProgramBase.StartProcess()

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

   at NAnt.Core.Tasks.ExternalProgramBase.StartProcess()

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

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

   at NAnt.Core.Task.Execute()

   at
NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.CreateCabFile(InstallerD
at

abase database)

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

   at
NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.CreateCabFile(InstallerD
at

abase database)

   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()

 

Total time: 0.6 seconds.

 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to