Gert,
I tried executing cabarc from my build file - that works (at least I get
a .cab file - I'm not sure how the msi file gets generated.)
Executing the msi block gives the same error (pasted again below).
Here's the Distribute target I currently have (with the exec to cabarc
directly):
<target name="Distribute" description="create installer">
<!-- <echo>Path: ${environment::get-variable('PATH')}</echo> -->
<msi verbose="true" sourcedir="${BuildAreaPublish}\*"
output="${BuildAreaDistribute}\ContentManagementTool.msi" />
<exec verbose="true" program="cabarc" >
<arg value="-r" />
<arg value="N" />
<arg value="${BuildAreaDistribute}/ContentManagementTool.cab" />
<arg value="${BuildAreaPublish}\*" />
</exec>
</target>
Thanks for your help,
Beth
Target(s) specified: Distribute
Distribute:
[msi] Building Installer Database
'C:/BuildArea/ContentManagementTool/Distribute\ContentManagementTool.msi
'.
[msi] Compressing Files...
[exec] Starting 'cabarc (-r N
\ContentManagementTool.cab *)' in 'C:\Documents and
Settings\BHechanova.IMS\Local Settings\Te
mp\tmp429.tmp'
BUILD FAILED
C:\content\ContentTrunk\ContentManagementTool\src\ContentManagementTool.
build(179,6):
Unable to build Installer database
'C:/BuildArea/ContentManagementTool/Distribute\ContentManagementTool.msi
'.
C:\content\ContentTrunk\ContentManagementTool\src\ContentManagementTool.
build(179,6):
Error creating cab file.
'cabarc' failed to start.
The directory name is invalid
Total time: 1.1 seconds.
Re: [NAnt-users] msi task - 'cabarc' failed to start
Gert Driesen
Thu, 29 Jan 2009 09:41:45 -0800
Beth,
No, that should do it.
Can you try just executing cabarc from within your build file first?
For example:
<exec program="cabarc" />
Gert
---------------------------------------------------------------------------
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.
---------------------------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users