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

Reply via email to