Terry, You don't need to provide actual double quotes for the program argument. NAnt with automatically quote this for you.
Recent nightly builds (http://nant.sourceforge.net/nightly/builds) will provide a more meaningful error message when you do specifiy quotes yourselves. Hope this helps, Gert ----- Original Message ----- From: "Go, Terry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 04, 2004 10:58 PM Subject: [nant-dev] INTERNAL ERROR regarding "exec" task Hi, First of all, thanks for providing this fantastic tool for .NET developers! I've got this error message when I pass the string, ""E:\Projects\Wsg\PrivateClient\Bernstein.com B78.1\..\setupfiles\PCWebApp2Setup-v1.78.2.115.msi"" as "program" attribute. (note that I put actual double quotes) INTERNAL ERROR System.ArgumentException: Illegal characters in path. at System.IO.Path.IsPathRooted(String path) at NAnt.Core.Tasks.ExecTask.get_ProgramFileName() at NAnt.Core.Tasks.ExecTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] When I run this in the command prompt it works fine. Could you have a look at this and fix? Regards, Terry ----------------------------------------- The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions. If you, as the intended recipient of this message, the purpose of which is to inform and update our clients, prospects and consultants of developments relating to our services and products, would not like to receive further e-mail correspondence from the sender, please "reply" to the sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York, NY 10105. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
