Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > NAnt
|
NAnt For discussing the NAnt .NET build tool. When posting a question, please specify the version of NAnt you are using.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the NAnt section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 14th, 2008, 03:26 AM
Registered User
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Build Cab file problem

Hi all,

I have a problem about how to build cab file.
Originally I use exec to do this,
<exec program="${path.basedir}\cabwiz.exe">
            <arg value="${path.slndir}\Release\${release.inf}"/>
            <arg value="/nouninstall"/>
            <arg value="/compress"/>
        </exec>

And it works well.

But recently I add many registry key items in the inf file, then this method can't work anymore.
The failed log is below:
[exec] Windows CE CAB Wizard
     [exec] Error: File c:\docume~1\timoth~1\locals~1\temp\wiz2e6.inf contains DirIDs, which are not supported

BUILD FAILED

H:\Workspace\\NANT_BuildFile\sky.build(140,4):
External Program Failed: H:\Workspace\\cabwiz.exe (return code was 1)

Does anyone know why this happens?
Or can anyone provide another method to make cab file in Nant?

Thanks.
Timothy






Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail.CAB file SMM Classic ASP Professional 1 April 19th, 2007 09:52 AM
I signed a .cab file and its still bloked by windo sugar VBScript 0 April 28th, 2006 07:33 PM
Creating CAB file as_prabahar ASP.NET 1.0 and 1.1 Professional 0 December 10th, 2005 02:33 AM
build a .dll file batli25 .NET Framework 1.x 0 December 6th, 2005 07:16 AM
Can't build: snk file not foud saeta57 BOOK: ASP.NET Website Programming Problem-Design-Solution 2 July 4th, 2004 05:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.