As you are in xml, you will need to escape the quotes = try using "

 

e.g. <exec program="${wix.dir}\light.exe" workingdir=".\wix"
commandline="-ext WixUIExtension -cultures:en-us SampleFirst.wixobj -out
&quot;${release.dir}\Nant Test.msi&quot;

 

You may also be able to use single quotes round the -out parameter - haven't
tried it though.

 

HTH,

Bill

 

 

  _____  

From: subrat agasti [mailto:subrat.w...@gmail.com] 
Sent: 07 July 2010 16:09
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] installer name

 

Is it possible to have  a space in an installer name? like 'Nant Test'. well
i am getting an error when i have a space in the name. What do i have to do
to resolve it? I have tried using quotes, but it is not working.

 

<target name="build-installer">   
  <setenv name="pleats.dir" value="${release.dir}"/> 
  <delete>   
   <fileset>    
    <include name="${wix.dir}/*.wixobj"/>
  </fileset>   
  </delete>  
  <exec program="${wix.dir}\candle.exe" workingdir=".\wix"
commandline="SampleFirst.wxs " /> 
  <exec program="${wix.dir}\light.exe" workingdir=".\wix" commandline="-ext
WixUIExtension -cultures:en-us SampleFirst.wixobj -out ${release.dir}\Nant
Test.msi"/> 
 </target>

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.839 / Virus Database: 271.1.1/2989 - Release Date: 07/08/10
07:36:00

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to