Bugs item #1107112, was opened at 2005-01-22 01:40
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1107112&group_id=54790

Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ted Sander (diggercprd)
>Assigned to: Gert Driesen (drieseng)
Summary: MSI Task Directories Can't have Spaces

Initial Comment:
When you use the MSI task for nant and you are keep the
subdirectories instead of specifying them yourself your
msi will be created fine but when you go to install the
msi you will get a 1639 error if you have any spaces in
your directory. I believe this is because the name that
is created for the directory has a space in it and this
is not allowed.

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

>Comment By: Gert Driesen (drieseng)
Date: 2005-02-27 16:41

Message:
Logged In: YES 
user_id=707851

This change is now committed in cvs.  

Thanks for taking the time to locate the cause !

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

Comment By: Patrick Altman (altman)
Date: 2005-02-27 03:14

Message:
Logged In: YES 
user_id=405010

I have found where the bug is and have implemented a fix on 
my box.  If anyone else is interested, here is what I did:

At line 2137 of src/Tasks/Msi/InstallerCreationCommand.cs 
there is the following line:
relativeDirId += "_" + folderName.ToUpper();

I simply added this line directly below that line:
relativeDirId = relativeDirId.Replace(" ","_");

And that fixes any problems with the folderName containing 
spaces.  For now I am just using my Nant.Contrib.Tasks.dll 
that I have built.  Hopefully this fix will find it's way into the 
next release.

Patrick Altman

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

Comment By: Patrick Altman (altman)
Date: 2005-02-27 00:09

Message:
Logged In: YES 
user_id=405010

I also am experiencing this same thing.  I noticed it occuring 
when building a package for a ASP.NET application that 
contains a Web Reference:

MSI (c) (94:AC): Dir (target): Key: 
D__AIM_RACER_WEB_WEB REFERENCES , 
Object: C:\Program Files\AIM Healthcare\Racer\Web 
Application\Web References
There obviously should be an underscore ("_") 
between "WEB" and "REFERENCES".

How long will it take to get a patch in place for this?  Or if 
you could, give me a pointer to where in the code these 
variables are being created and I'll take a stab at the fix.

Patrick

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to