From: Beth H. <bhe...@im...> - 2009-01-28 18:28:19
|
Hi, I saw a thread with the same subject approx a year ago in the mail archive, but I did not see any resolution. I am having the same exact problem. At the end of this email is the output from running the msi task from my nant script. I have not done anything with setting a path (either env variable or within the nant script itself). At this time, my msi task is very simple - I only have "sourcedir" defined as the directory that contains the files to put into the installer, and "output" defined to be the name of the msi installer. My application is a VS2008 solution built on .net 3.5 framework. Did the person with this same problem ever get it figured out? Are people able to successfully use the msi task with nant? If so, did you have to do some special configuration to get it to work? Thanks, Beth Build Error : C:\content\ContentTrunk\ContentManagementTool\src>nant Distribute NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007) Copyright (C) 2001-2007 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/content/ContentTrunk/ContentManagementTool/src/ContentManagem entTool.build Target framework: Microsoft .NET Framework 3.5 Target(s) specified: Distribute Distribute: [msi] Building Installer Database 'C:/BuildArea/ContentManagementTool/Distribute/ContentManagementTool.msi '. [msi] Compressing Files... [exec] Starting 'cabarc (-r N C:/BUILDA~1/CONTEN~1/Publish/\ContentManagementTool.cab *)' in 'C:\Documents and Settings\user\Temp\tmpC2C.tmp' BUILD FAILED C:\content\ContentTrunk\ContentManagementTool\src\ContentManagementTool. build(176,4): Unable to build Installer database 'C:/BuildArea/ContentManagementTool/Distribute/ContentManagementTool.msi '. C:\content\ContentTrunk\ContentManagementTool\src\ContentManagementTool. build(176,4): Error creating cab file. 'cabarc' failed to start. The system cannot find the file specified Total time: 1 seconds. --------------------------------------------------------------------------- This email and any files transmitted with it are confidential & proprietary to Systems and Software Enterprises, Inc. (dba IMS). This information is intended solely for the use of the individual or entity to which it is addressed. Access or transmittal of the information contained in this e-mail, in full or in part, to any other organization or persons is not authorized. --------------------------------------------------------------------------- |