Bugs item #1206742, was opened at 2005-05-23 00:11
Message generated for change (Comment added) made by normanhare
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1206742&group_id=54790

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Norman Harebottle (normanhare)
Assigned to: Nobody/Anonymous (nobody)
Summary: MSI - Spaces In Path Cause cabarc problems

Initial Comment:
The conversion of the MSI task to use the local users 
temp folder settings cause invalid path information (with 
spaces) to be sent via command-line arguments to the 
cabarc exe tool.

The solution to this problem is to pass a long-filename 
path to the cabarc tool using the short version of the file 
name. i.e. C:\Documents and Settings\User\Local 
Settings should be passed to cabarc as C:\DOCUME~1
\User\LOCALS~1 .

I have created a utility class that will convert a long path 
into a short version for use with the MSI task.

Included with the utility class PathHelper is an NUnit 
test suite for exercising the PathHelper.

Also, included in the patch archive is an updated version 
of the InstallerCreationCommand.cs file containing the 
changed code to utilize the PathHelper class.

----------------------------------------------------------------------

>Comment By: Norman Harebottle (normanhare)
Date: 2005-05-23 11:20

Message:
Logged In: YES 
user_id=987088

The problem occurs when I use cabarc version 1.00.0601 
(03/18/97).  I suppose it is possible that I downloaded an 
outdated version of the cabarc tool.  Basically, any MSI task 
will cause the problem.  I even removed spaces from the path 
to the source files, but I still was getting an error about 
the "n" command not being recognized.  I researched the bug 
in the e-mail list archives and did not find anything specific to 
this issue.  I also tried the latest nightly build version of 
NAntContrib but that did not make a difference.  The MSI 
task still got hung up on creating the cab file.

My development environment:

Windows XP Professional
Visual Studio 2005 Beta 1
.NET Framework 1.1
.NET Framework 2.0

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2005-05-23 04:31

Message:
Logged In: YES 
user_id=707851

Can you send me a small repro for this bug ?

Thx!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1206742&group_id=54790


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to