Guess we should change the code in InstallerCreationCommand to use an instance of the ExecTask instead, or perhaps even create a <cabarc> task.
That way we can provide information in the build log on the cause of the error ... Gert ----- Original Message ----- From: "Burton, Kevin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 25, 2004 4:45 PM Subject: [NAntC-Dev] <msi> errors I am still getting: D:\Projects\Visa\MR0804A\Application Server Code\ApplicationServerSetup\default.build(6,10): Unable to build MSI database 'ApplicationServerSetup.msi'. D:\Projects\Visa\MR0804A\Application Server Code\ApplicationServerSetup\default.build(6,10): Error creating cab file, application returned error 1 I was able to trace the error down in the source to InstallerCreationCommand.cs processInfo.Arguments = "-r -P " + tempDir + @"\ N " + cabFilePath + " " + tempDir + @"\*"; processInfo.CreateNoWindow = false; processInfo.WindowStyle = ProcessWindowStyle.Hidden; processInfo.WorkingDirectory = Project.BaseDirectory; processInfo.FileName = "cabarc"; Process process = new Process(); process.StartInfo = processInfo; process.EnableRaisingEvents = true; try { process.Start(); } catch (Exception e) { throw new BuildException("cabarc.exe failed.", Location, e); } try { process.WaitForExit(); } catch (Exception e) { throw new BuildException("Error creating cab file.", Location, e); } if (process.ExitCode != 0) { throw new BuildException("Error creating cab file, application returned error " + process.ExitCode, Location); } It looks to me like the "cabarc" program is returning an error. Are the arguments wrong? Am I doing something wrong? Any suggestions? Kevin Burton [EMAIL PROTECTED] ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer