Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-02-02 Thread Beth Hechanova
I have been able to resolve this issue by downloading the NAnt and
NAntContrib nightly builds from 1/30/09.

(and also by downloading the Cabinet SDK, which I originally did not
have).

 

Thanks to Gert for his help.

Beth

 

[NAnt-users] msi task - 'cabarc' failed to start

Beth Hechanova
Wed, 28 Jan 2009 10:28:35 -0800

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 <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.
---

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-30 Thread Bill Martin
Unfortunately, I'm not back in work until Monday, and I haven't got the
source to the msi script at home, but I'm pretty sure the only thing it
configures on the client machine it to put the NAnt\bin folder in the path.
Do you have this?

 

I'll double check when I get in on Monday.

 

Cheers,

Bill

 

 

  _  

From: Beth Hechanova [mailto:bhechan...@imsco-us.com] 
Sent: 30 January 2009 16:09
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

I manually copied cabarc.exe and cabinet.dll to my NAnt\bin directory and
that had no effect.  Does your install set any env/registry variables with
respect to the cab sdk?

Are you using NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)?

Thanks, Beth

Re: [NAnt-users] msi task - 'cabarc' failed to start

William_Martin
Fri, 30 Jan 2009 01:34:03 -0800

Don't know if this helps Beth, but I wrote an install for Nant so

developers can install it to their machines (mostly because we have some

custom tasks etc) but because our build scripts also create installers, I

included cabarc.exe and cabinet.dll in the install.  These are installed

to the Nant\bin folder, and the MSI task runs fine with just these

installed on a dev machine (no need for the SDK)

 

 You might want to give it a go and see if it helps.

 

Cheers,

Bill

 

 

 

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


Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-30 Thread Beth Hechanova
I manually copied cabarc.exe and cabinet.dll to my NAnt\bin directory
and that had no effect.  Does your install set any env/registry
variables with respect to the cab sdk?

Are you using NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)?

Thanks, Beth

Re: [NAnt-users] msi task - 'cabarc' failed to start

William_Martin
Fri, 30 Jan 2009 01:34:03 -0800

Don't know if this helps Beth, but I wrote an install for Nant so

developers can install it to their machines (mostly because we have some

custom tasks etc) but because our build scripts also create installers,
I

included cabarc.exe and cabinet.dll in the install.  These are installed

to the Nant\bin folder, and the MSI task runs fine with just these

installed on a dev machine (no need for the SDK)

 

 You might want to give it a go and see if it helps.

 

Cheers,

Bill

 

 


---
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


Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-30 Thread William_Martin
Don't know if this helps Beth, but I wrote an install for Nant so
developers can install it to their machines (mostly because we have some
custom tasks etc) but because our build scripts also create installers, I
included cabarc.exe and cabinet.dll in the install.  These are installed
to the Nant\bin folder, and the MSI task runs fine with just these
installed on a dev machine (no need for the SDK)

 

You might want to give it a go and see if it helps.

 

Cheers,

 

Bill

 

 

  _  

From: Beth Hechanova [mailto:bhechan...@imsco-us.com] 
Sent: 29 January 2009 20:00
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

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):

   



 

  

  

  

  

  



  

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.bu
ild(179,6):

Unable to build Installer database
'C:/BuildArea/ContentManagementTool/Distribute\ContentManagementTool.msi'.

 
C:\content\ContentTrunk\ContentManagementTool\src\ContentManagementTool.bu
ild(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:

 



 

 

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 email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

 

IMPORTANT 
The information contained in this e-mail and any attachments is intended for 
the addressee only
and may contain legally privileged or confidential information. If you are not 
the intended
recipient you must not use, disclose, copy, distribute, alter, or take any 
action in reliance
on the information and Avon Insurance plc will not accept liability for any 
loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or 
representation as to its
accuracy or reliability. If you are not the addressee, please notify us 
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and 
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its system and 
ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a result 
of any virus being passed on.

Avon Insurance plc (No. 209606).
Registered in England.
Registered Office: Tiddington Road, Stratford-upon-Avon, Warwickshire CV37 7BJ.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of British 
Insurers.
For security and training purposes telephone calls may be recorded and 
monitored.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__--
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


Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-29 Thread Gert Driesen
Hi Beth,

 

The problem appears to be that the working directory - which is a temporary
directory created by the  task - no longer exists when cabarc is
executed.

 

I'll look into that, and make a new nightly build available that either
fixes this issue (if I find the cause) or adds more tracing to allow me to
find the cause.

 

I'll let you know when it's available. Probably in the next day or two.

 

Gert

 

From: Beth Hechanova [mailto:bhechan...@imsco-us.com] 
Sent: donderdag 29 januari 2009 21:00
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

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):

   



 

  

  

  

  

  



  

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.buil
d(179,6):

Unable to build Installer database
'C:/BuildArea/ContentManagementTool/Distribute\ContentManagementTool.msi'.

 
C:\content\ContentTrunk\ContentManagementTool\src\ContentManagementTool.buil
d(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:

 



 

 

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. 

 

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.15/1921 - Release Date: 1/29/2009
7:13 AM

--
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


Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-29 Thread Beth Hechanova
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):

   



 

  

  

  

  

  



  

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:

 



 

 

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


Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-29 Thread Gert Driesen
Beth,

 

No, that should do it.

 

Can you try just executing cabarc from within your build file first?

 

For example:



 

Gert

 

From: Beth Hechanova [mailto:bhechan...@imsco-us.com] 
Sent: donderdag 29 januari 2009 17:51
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 


Hi Gert,


Actually I did not have the Cabinet SDK installed, but I do now
(c:\tools\cabsdk).  I then updated my PATH env variable to include
c:\tools\cabsdk\bin.  If I open a new command prompt window and just type
'cabarc', the program is found.


However this had no effect on my msi task in my nant script.  I am still
getting the same behavior.  I then put an echo statement to print the path
(${environment::get-variable('PATH')) in the NAnt script just to be sure the
cabsdk was part of that path, and it is.


Do I need to configure something else in order to find the Cabinet SDK?


Thanks for your help,


Beth


 


Re: [NAnt-users] msi task - 'cabarc' failed to start


Gert Driesen
Wed, 28 Jan 2009 12:07:58 -0800

Beth,
 
Do you have the Cabinet SDK installed? Can you launch cabarc.exe from the
command prompt?
 
Gert
 
From: Beth Hechanova [mailto:bhechan...@imsco-us.com] 
Sent: woensdag 28 januari 2009 19:30
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start
 
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).
 
. 

 

 

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. 

 

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.15/1921 - Release Date: 1/29/2009
7:13 AM

--
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


Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-29 Thread Beth Hechanova

Hi Gert,


Actually I did not have the Cabinet SDK installed, but I do now
(c:\tools\cabsdk).  I then updated my PATH env variable to include
c:\tools\cabsdk\bin.  If I open a new command prompt window and just
type 'cabarc', the program is found.


However this had no effect on my msi task in my nant script.  I am still
getting the same behavior.  I then put an echo statement to print the
path (${environment::get-variable('PATH')) in the NAnt script just to be
sure the cabsdk was part of that path, and it is.


Do I need to configure something else in order to find the Cabinet SDK?


Thanks for your help,


Beth


 


Re: [NAnt-users] msi task - 'cabarc' failed to start


Gert Driesen
Wed, 28 Jan 2009 12:07:58 -0800

Beth,
 
Do you have the Cabinet SDK installed? Can you launch cabarc.exe from
the
command prompt?
 
Gert
 
From: Beth Hechanova [mailto:bhechan...@imsco-us.com] 
Sent: woensdag 28 januari 2009 19:30
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start
 
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).
 
... 

 


---
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


Re: [NAnt-users] msi task - 'cabarc' failed to start

2009-01-28 Thread Gert Driesen
Beth,

 

Do you have the Cabinet SDK installed? Can you launch cabarc.exe from the
command prompt?

 

Gert

 

From: Beth Hechanova [mailto:bhechan...@imsco-us.com] 
Sent: woensdag 28 januari 2009 19:30
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start

 

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/ContentManagementT
ool.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.buil
d(176,4):

Unable to build Installer database
'C:/BuildArea/ContentManagementTool/Distribute/ContentManagementTool.msi'.

 
C:\content\ContentTrunk\ContentManagementTool\src\ContentManagementTool.buil
d(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. 

 

Internal Virus Database is out of date.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.10.8/1898 - Release Date: 1/16/2009
3:09 PM

--
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


[NAnt-users] msi task - 'cabarc' failed to start

2009-01-28 Thread Beth Hechanova
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.
---

--
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


Re: [NAnt-users] msi task - 'cabarc' failed to start

2008-03-18 Thread Gert Driesen
Try running the build in debug mode (NAnt.exe -debug), and send me the
resulting output.
 
Gert

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: dinsdag 18 maart 2008 9:50
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start


 

Does anyone else have any ideas? 

I've got verbose=true switched on and I've tried setting the path to cabarc
and mergemod in the Path system variable on my machine (as opposed to
setting it in NAnt) but I'm still getting the same error. 

My NAnt script resides in C:/code/Project/trunk, which is where I'm running
it from (ie I open a command prompt and then navigate to that folder and run
NAnt). I would assume my working directory is the directory I run NAnt from.


Does anyone have any ideas as to why cabarc is trying to find this file ->
'C:\Documents and Settings\user\Local Settings\Temp\tm
p177B.tmp'? 

In case it's of any use, here's a copy of my msi task:

 


  





  

  

  

  
  

  


  
  
 

  
  

  


  
  

  


  
  

  


  
  

  


  
  

  


  
  

  


  
  


  


  
  

  


  
  


  


  
  

  


  
  






  


  
  




  


  
  


  

  
  
  
  
  


  
  
  
  

  ${project::get-name()}
${product.version}

  

  ${project::get-name()}
${product.version}


  ${project::get-name()} ${product.version} Release
Notes


  ${project::get-name()} ${product.version} Technical
Release Notes

  

  

  Product ${product.version}

  



 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 29 February 2008 13:08
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi all,

I'm new to NAnt and I'm trying to set up our project for automated builds
but am having no success. I'm currently trying to use the msi task to build
the msi for our project but it keeps failing with the following message:

 

  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local
Settings\Temp\tm
p177B.tmp'

Failure:


BUILD FAILED

C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified

I've added cabarc and mergemodule to the path using the following code: 

 





Visual Studio path: ${visualstudio.dir}







Path: ${environment::get-variable('PATH')}

 

The echo task shows the paths to cabarc and mergemod have been added to the
Path environment variable so it should be able to find them. A friend
suggested that maybe spaces in the path are causing the problem but I don't
know which path in particular they were referring to. From what I've seen,
the fix for that issue should be in the version of NAnt I'm using (0.85)
anyway though. 

Does anyone have any other ideas??

FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to
remove visual studio from the build machine in the future but right now I'm
just trying to get a build that works. Any example build files would be
gratefully accepted! Most of the good examples I've seen have been for Web
projects :(

Thanks,

K.

 


  _  

Get the name you always wanted with the new y7mail email address
<http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com
/y7mail/?p1=ni&p2=general&p3=tagline&p4=other> . 
--

Re: [NAnt-users] msi task - 'cabarc' failed to start

2008-03-18 Thread rkjmailcentre-mailinglists

Does anyone else have any ideas? 
I've got verbose=true switched on and I've tried setting the path to cabarc and 
mergemod in the Path system variable on my machine (as opposed to setting it in 
NAnt) but I'm still getting the same error. 
My NAnt script resides in C:/code/Project/trunk, which is where I'm running it 
from (ie I open a command prompt and then navigate to that folder and run 
NAnt). I would assume my working directory is the directory I run NAnt from. 
Does anyone have any ideas as to why cabarc is trying to find this file -> 
'C:\Documents and Settings\user\Local Settings\Temp\tm
p177B.tmp'? 
In case it's of any use, here's a copy of my msi task:


  





  
  

  

  
  

  


  
  
 

  
  

  


  
  

  


  
  

  


  
  

  


  
  

  


  
  

  


  
  


  


  
  

  


  
  


  


  
  

  


  
  






  


  
  




  


  
  


  

  
  
  
  
  


  
  
  
  

  ${project::get-name()} ${product.version}

  

  ${project::get-name()} ${product.version}


  ${project::get-name()} ${product.version} Release 
Notes


  ${project::get-name()} ${product.version} Technical 
Release Notes

  
  

  Product ${product.version}

  



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 29 February 2008 13:08
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start
 
Hi all,
I'm new to NAnt and I'm trying to set up our project for automated builds but 
am having no success. I'm currently trying to use the msi task to build the msi 
for our project but it keeps failing with the following message:
 
  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N 
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local Settings\Temp\tm
p177B.tmp'
Failure:

BUILD FAILED
C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified
I've added cabarc and mergemodule to the path using the following code: 
 


Visual Studio path: ${visualstudio.dir}



Path: ${environment::get-variable('PATH')}
 
The echo task shows the paths to cabarc and mergemod have been added to the 
Path environment variable so it should be able to find them. A friend suggested 
that maybe spaces in the path are causing the problem but I don't know which 
path in particular they were referring to. From what I've seen, the fix for 
that issue should be in the version of NAnt I'm using (0.85) anyway though. 
Does anyone have any other ideas??
FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to remove 
visual studio from the build machine in the future but right now I'm just 
trying to get a build that works. Any example build files would be gratefully 
accepted! Most of the good examples I've seen have been for Web projects :(
Thanks,
K.
 


  Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/y7mail

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] msi task - 'cabarc' failed to start

2008-02-29 Thread Chris Snider
Without looking at the source code, my guess is that the temp folder is
being loaded with the windows API to determine the temporary folder from
the environment variables, most likely at the user level and not global
level. 

 

Christopher B. Snider
Technical Lead, Reg.Net Team
719.302.0200 x403
chris_snider (Yahoo! messenger ID)

---

"When all men think alike, no one thinks very much"

Walter Lippmann

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
Archer
Sent: Friday, February 29, 2008 9:47 AM
To: [EMAIL PROTECTED];
nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

I think the temp is possible your current folder?

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 10:58 AM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi Bob,

Yes, I've already got verbose = true on the msi task. I think it's what
outputs this information:

 

 [exec] Starting 'cabarc (-r N C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local
Settings\Temp\tm
p177B.tmp'

Could the path to Temp have anything to do with the issue?? (I have no
idea where it gets this path from)

- K.

 

- Original Message 
From: Bob Archer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]; nant-users@lists.sourceforge.net
Sent: Friday, 29 February, 2008 3:08:36 PM
Subject: RE: [NAnt-users] msi task - 'cabarc' failed to start

Have you tried setting the msi task verbose="true" ... it may return the
error from the command line as to why cabarc won't run.

 

BOb

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 10:01 AM
To: [EMAIL PROTECTED];
nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi Bill,

Just tried your idea and unfortunately, it made no difference. It's
still giving me the exact same error. 

Regards,

K.

- Original Message 
From: "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED];
nant-users@lists.sourceforge.net
Sent: Friday, 29 February, 2008 1:52:48 PM
Subject: RE: [NAnt-users] msi task - 'cabarc' failed to start

Have you adding it to the Path environment on the machine?  I'm not
sure, but I believe nant starts a new process to run cabarc, and this
would presumably get the default Path from the machine settings, not
from your current process, and so wouldn't include the value you have
just set.

 

Just a thought.

 

Cheers,

Bill

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 29 February 2008 13:08
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi all,

I'm new to NAnt and I'm trying to set up our project for automated
builds but am having no success. I'm currently trying to use the msi
task to build the msi for our project but it keeps failing with the
following message:

 

  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local
Settings\Temp\tm
p177B.tmp'

Failure:


BUILD FAILED

C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified

I've added cabarc and mergemodule to the path using the following code: 

 





Visual Studio path: ${visualstudio.dir}







Path: ${environment::get-variable('PATH')}

 

The echo task shows the paths to cabarc and mergemod have been added to
the Path environment variable so it should be able to find them. A
friend suggested that maybe spaces in the path are causing the problem
but I don't know which path in particular they were referring to. From
what I've seen, the fix for that issue should be in the version of NAnt
I'm using (0.85) anyway though. 

Does anyone have any other ideas??

FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to
remove visual studio from the build machine in the future but right now
I'm just trying to get a build that works. Any example build files would
be gratefully accepted! Most of the good examples I've seen have been
for Web projects :(

Thanks,

K.

 



Get the name you always wanted with the new y7mail email

Re: [NAnt-users] msi task - 'cabarc' failed to start

2008-02-29 Thread Bob Archer
I think the temp is possible your current folder?

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 10:58 AM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi Bob,

Yes, I've already got verbose = true on the msi task. I think it's what
outputs this information:

 

 [exec] Starting 'cabarc (-r N C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local
Settings\Temp\tm
p177B.tmp'

Could the path to Temp have anything to do with the issue?? (I have no
idea where it gets this path from)

- K.

 

- Original Message 
From: Bob Archer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]; nant-users@lists.sourceforge.net
Sent: Friday, 29 February, 2008 3:08:36 PM
Subject: RE: [NAnt-users] msi task - 'cabarc' failed to start

Have you tried setting the msi task verbose="true" ... it may return the
error from the command line as to why cabarc won't run.

 

BOb

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 10:01 AM
To: [EMAIL PROTECTED];
nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi Bill,

Just tried your idea and unfortunately, it made no difference. It's
still giving me the exact same error. 

Regards,

K.

- Original Message 
From: "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED];
nant-users@lists.sourceforge.net
Sent: Friday, 29 February, 2008 1:52:48 PM
Subject: RE: [NAnt-users] msi task - 'cabarc' failed to start

Have you adding it to the Path environment on the machine?  I'm not
sure, but I believe nant starts a new process to run cabarc, and this
would presumably get the default Path from the machine settings, not
from your current process, and so wouldn't include the value you have
just set.

 

Just a thought.

 

Cheers,

Bill

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 29 February 2008 13:08
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi all,

I'm new to NAnt and I'm trying to set up our project for automated
builds but am having no success. I'm currently trying to use the msi
task to build the msi for our project but it keeps failing with the
following message:

 

  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local
Settings\Temp\tm
p177B.tmp'

Failure:


BUILD FAILED

C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified

I've added cabarc and mergemodule to the path using the following code: 

 





Visual Studio path: ${visualstudio.dir}







Path: ${environment::get-variable('PATH')}

 

The echo task shows the paths to cabarc and mergemod have been added to
the Path environment variable so it should be able to find them. A
friend suggested that maybe spaces in the path are causing the problem
but I don't know which path in particular they were referring to. From
what I've seen, the fix for that issue should be in the version of NAnt
I'm using (0.85) anyway though. 

Does anyone have any other ideas??

FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to
remove visual studio from the build machine in the future but right now
I'm just trying to get a build that works. Any example build files would
be gratefully accepted! Most of the good examples I've seen have been
for Web projects :(

Thanks,

K.

 



Get the name you always wanted with the new y7mail email address
<http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http:/au.yahoo.
com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other> . 
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__



IMP

Re: [NAnt-users] msi task - 'cabarc' failed to start

2008-02-29 Thread rkjmailcentre-mailinglists
Hi Bob,
Yes, I've already got verbose = true on the msi task. I think it's what outputs 
this information:

 [exec] Starting 'cabarc (-r N C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local Settings\Temp\tm
p177B.tmp'

Could the path to Temp have anything to do with the issue?? (I have no idea 
where it gets this path from)
- K.

- Original Message 
From: Bob Archer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; nant-users@lists.sourceforge.net
Sent: Friday, 29 February, 2008 3:08:36 PM
Subject: RE: [NAnt-users] msi task - 'cabarc' failed to start


Have you tried setting the msi task verbose=”true” … it may return the error 
from the command line as to why cabarc won’t run.
 
BOb
 
 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, February 29, 2008 10:01 AM
To: [EMAIL PROTECTED]; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start
 
Hi Bill,
Just tried your idea and unfortunately, it made no difference. It's still 
giving me the exact same error. 
Regards,
K.
- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; nant-users@lists.sourceforge.net
Sent: Friday, 29 February, 2008 1:52:48 PM
Subject: RE: [NAnt-users] msi task - 'cabarc' failed to start
Have you adding it to the Path environment on the machine?  I’m not sure, but I 
believe nant starts a new process to run cabarc, and this would presumably get 
the default Path from the machine settings, not from your current process, and 
so wouldn’t include the value you have just set.
 
Just a thought.
 
Cheers,
Bill
 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 29 February 2008 13:08
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start
 
Hi all,
I'm new to NAnt and I'm trying to set up our project for automated builds but 
am having no success. I'm currently trying to use the msi task to build the msi 
for our project but it keeps failing with the following message:
 
  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N 
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local Settings\Temp\tm
p177B.tmp'
Failure:

BUILD FAILED
C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified
I've added cabarc and mergemodule to the path using the following code: 
 


Visual Studio path: ${visualstudio.dir}



Path: ${environment::get-variable('PATH')}
 
The echo task shows the paths to cabarc and mergemod have been added to the 
Path environment variable so it should be able to find them. A friend suggested 
that maybe spaces in the path are causing the problem but I don't know which 
path in particular they were referring to. From what I've seen, the fix for 
that issue should be in the version of NAnt I'm using (0.85) anyway though. 
Does anyone have any other ideas??
FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to remove 
visual studio from the build machine in the future but right now I'm just 
trying to get a build that works. Any example build files would be gratefully 
accepted! Most of the good examples I've seen have been for Web projects :(
Thanks,
K.
 



Get the name you always wanted with the new y7mail email address. 
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__



IMPORTANT 
The information contained in this e-mail and any attachments is intended for 
the addressee only
and may contain legally privileged or confidential information. If you are not 
the intended
recipient you must not use, disclose, copy, distribute, alter, or take any 
action in reliance
on the information and Avon Insurance plc will not accept liability for any 
loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or 
representation as to its
accuracy or reliability. If you are not the addressee, please notify us 
immediately on 01789 202121*
and d

Re: [NAnt-users] msi task - 'cabarc' failed to start

2008-02-29 Thread Bob Archer
Have you tried setting the msi task verbose="true" ... it may return the
error from the command line as to why cabarc won't run.

 

BOb

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 10:01 AM
To: [EMAIL PROTECTED];
nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi Bill,

Just tried your idea and unfortunately, it made no difference. It's
still giving me the exact same error. 

Regards,

K.

- Original Message 
From: "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED];
nant-users@lists.sourceforge.net
Sent: Friday, 29 February, 2008 1:52:48 PM
Subject: RE: [NAnt-users] msi task - 'cabarc' failed to start

Have you adding it to the Path environment on the machine?  I'm not
sure, but I believe nant starts a new process to run cabarc, and this
would presumably get the default Path from the machine settings, not
from your current process, and so wouldn't include the value you have
just set.

 

Just a thought.

 

Cheers,

Bill

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 29 February 2008 13:08
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi all,

I'm new to NAnt and I'm trying to set up our project for automated
builds but am having no success. I'm currently trying to use the msi
task to build the msi for our project but it keeps failing with the
following message:

 

  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local
Settings\Temp\tm
p177B.tmp'

Failure:


BUILD FAILED

C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified

I've added cabarc and mergemodule to the path using the following code: 

 





Visual Studio path: ${visualstudio.dir}







Path: ${environment::get-variable('PATH')}

 

The echo task shows the paths to cabarc and mergemod have been added to
the Path environment variable so it should be able to find them. A
friend suggested that maybe spaces in the path are causing the problem
but I don't know which path in particular they were referring to. From
what I've seen, the fix for that issue should be in the version of NAnt
I'm using (0.85) anyway though. 

Does anyone have any other ideas??

FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to
remove visual studio from the build machine in the future but right now
I'm just trying to get a build that works. Any example build files would
be gratefully accepted! Most of the good examples I've seen have been
for Web projects :(

Thanks,

K.

 



Get the name you always wanted with the new y7mail email address
<http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http:/au.yahoo.
com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other> . 
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__



IMPORTANT 
The information contained in this e-mail and any attachments is intended
for the addressee only
and may contain legally privileged or confidential information. If you
are not the intended
recipient you must not use, disclose, copy, distribute, alter, or take
any action in reliance
on the information and Avon Insurance plc will not accept liability for
any loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty
or representation as to its
accuracy or reliability. If you are not the addressee, please notify us
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its
system and ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a
result of any virus being passed on.


Re: [NAnt-users] msi task - 'cabarc' failed to start

2008-02-29 Thread rkjmailcentre-mailinglists
Hi Bill,
Just tried your idea and unfortunately, it made no difference. It's still 
giving me the exact same error. 
Regards,
K.


- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; nant-users@lists.sourceforge.net
Sent: Friday, 29 February, 2008 1:52:48 PM
Subject: RE: [NAnt-users] msi task - 'cabarc' failed to start


Have you adding it to the Path environment on the machine?  I’m not sure, but I 
believe nant starts a new process to run cabarc, and this would presumably get 
the default Path from the machine settings, not from your current process, and 
so wouldn’t include the value you have just set.
 
Just a thought.
 
Cheers,
Bill
 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 29 February 2008 13:08
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start
 
Hi all,
I'm new to NAnt and I'm trying to set up our project for automated builds but 
am having no success. I'm currently trying to use the msi task to build the msi 
for our project but it keeps failing with the following message:
 
  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N 
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local Settings\Temp\tm
p177B.tmp'
Failure:

BUILD FAILED
C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified
I've added cabarc and mergemodule to the path using the following code: 
 


Visual Studio path: ${visualstudio.dir}



Path: ${environment::get-variable('PATH')}
 
The echo task shows the paths to cabarc and mergemod have been added to the 
Path environment variable so it should be able to find them. A friend suggested 
that maybe spaces in the path are causing the problem but I don't know which 
path in particular they were referring to. From what I've seen, the fix for 
that issue should be in the version of NAnt I'm using (0.85) anyway though. 
Does anyone have any other ideas??
FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to remove 
visual studio from the build machine in the future but right now I'm just 
trying to get a build that works. Any example build files would be gratefully 
accepted! Most of the good examples I've seen have been for Web projects :(
Thanks,
K.
 



Get the name you always wanted with the new y7mail email address. 
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__



IMPORTANT 
The information contained in this e-mail and any attachments is intended for 
the addressee only
and may contain legally privileged or confidential information. If you are not 
the intended
recipient you must not use, disclose, copy, distribute, alter, or take any 
action in reliance
on the information and Avon Insurance plc will not accept liability for any 
loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or 
representation as to its
accuracy or reliability. If you are not the addressee, please notify us 
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and 
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its system and 
ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a result 
of any virus being passed on.

Avon Insurance plc (No. 209606). 
Registered in England. Registered Office: Arden Street, Stratford upon Avon, 
Warwickshire CV37 6WA.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of British 
Insurers.

*For security and training purposes, telephone calls may be recorded and 
monitored.


  Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/y7mail

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT

Re: [NAnt-users] msi task - 'cabarc' failed to start

2008-02-29 Thread William_Martin
Have you adding it to the Path environment on the machine?  I'm not sure,
but I believe nant starts a new process to run cabarc, and this would
presumably get the default Path from the machine settings, not from your
current process, and so wouldn't include the value you have just set.

 

Just a thought.

 

Cheers,

Bill

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 29 February 2008 13:08
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] msi task - 'cabarc' failed to start

 

Hi all,

I'm new to NAnt and I'm trying to set up our project for automated builds
but am having no success. I'm currently trying to use the msi task to
build the msi for our project but it keeps failing with the following
message:

 

  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local
Settings\Temp\tm
p177B.tmp'

Failure:


BUILD FAILED

C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified

I've added cabarc and mergemodule to the path using the following code: 

 





Visual Studio path: ${visualstudio.dir}







Path: ${environment::get-variable('PATH')}

 

The echo task shows the paths to cabarc and mergemod have been added to
the Path environment variable so it should be able to find them. A friend
suggested that maybe spaces in the path are causing the problem but I
don't know which path in particular they were referring to. From what I've
seen, the fix for that issue should be in the version of NAnt I'm using
(0.85) anyway though. 

Does anyone have any other ideas??

FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to
remove visual studio from the build machine in the future but right now
I'm just trying to get a build that works. Any example build files would
be gratefully accepted! Most of the good examples I've seen have been for
Web projects :(

Thanks,

K.

 

  _  

Get the name you always wanted with the new y7mail email address
<http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http:/au.yahoo.co
m/y7mail/?p1=ni&p2=general&p3=tagline&p4=other> . 
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

 


IMPORTANT 
The information contained in this e-mail and any attachments is intended for 
the addressee only
and may contain legally privileged or confidential information. If you are not 
the intended
recipient you must not use, disclose, copy, distribute, alter, or take any 
action in reliance
on the information and Avon Insurance plc will not accept liability for any 
loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or 
representation as to its
accuracy or reliability. If you are not the addressee, please notify us 
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and 
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its system and 
ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a result 
of any virus being passed on.

Avon Insurance plc (No. 209606). 
Registered in England. Registered Office: Arden Street, Stratford upon Avon, 
Warwickshire CV37 6WA.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of British 
Insurers.

*For security and training purposes, telephone calls may be recorded and 
monitored.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] msi task - 'cabarc' failed to start

2008-02-29 Thread rkjmailcentre-mailinglists
Hi all,
I'm new to NAnt and I'm trying to set up our project for automated builds but 
am having no success. I'm currently trying to use the msi task to build the msi 
for our project but it keeps failing with the following message:
 
  [msi] Compressing Files...
 [exec] Starting 'cabarc (-r N 
C:\code\PROJECT~3\trunk\builds\lat
est\Project.cab *)' in 'C:\Documents and Settings\user\Local Settings\Temp\tm
p177B.tmp'
Failure:

BUILD FAILED
C:\code\Project-SVN\trunk\default.build(317,6):
Unable to build Installer database 'Deploy\Project.msi'.
C:\code\Project-SVN\trunk\default.build(317,6):
Error creating cab file.
'cabarc' failed to start.
The system cannot find the file specified

I've added cabarc and mergemodule to the path using the following code: 
 


Visual Studio path: ${visualstudio.dir}



Path: ${environment::get-variable('PATH')}
 
The echo task shows the paths to cabarc and mergemod have been added to the 
Path environment variable so it should be able to find them. A friend suggested 
that maybe spaces in the path are causing the problem but I don't know which 
path in particular they were referring to. From what I've seen, the fix for 
that issue should be in the version of NAnt I'm using (0.85) anyway though. 
Does anyone have any other ideas??
FYI - it's a C# Winforms project using .NET 2.0.  We want to be able to remove 
visual studio from the build machine in the future but right now I'm just 
trying to get a build that works. Any example build files would be gratefully 
accepted! Most of the good examples I've seen have been for Web projects :(
Thanks,
K.


  Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/y7mail

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users