Here is another alternative:
<exec program="ISCmdBld">
<arg value='-p "${WorkDirInstallShield}\NWEA_MAPAdminWeb_Install.ism"'
/>
<arg value='-a "MAPAdminWeb_Install"' />
<arg value='-c "Release 1"' />
</exec>
--
Edwin
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Smith
Sent: Tuesday, February 22, 2005 1:00 PM
To: [email protected]
Subject: [Nant-users] Re: <exec> string literals
Thanks for the help, here's the syntax that made it succeed(note the
" ):
<exec program="ISCmdBld" >
<arg value="-p
"${WorkDirInstallShield\NWEA_MAPAdminWeb_Install.ism"" />
<arg value="-a "MAPAdminWeb_Install"" />
<arg value="-c "Release 1"" />
</exec>
~Robert
On Tue, 22 Feb 2005 11:37:54 -0800, Robert Smith <[EMAIL PROTECTED]>
wrote:
> When I execute the equivalent of the below <exec> lines from command
> line, InstallShield wants quotes around the second part of the
> parameter.
>
> For instance -c "Release 1" is required. How do I force the string
> literals to do the same thing in the <exec> task?
>
> Adding the double quotes around the parameter (<arg value="-c
""Release 1""" />
> ) doesn't work either, in fact causes the following error:
>
> Error loading buildfile.
> This is an unexpected token. The expected token is 'NAME'. Line 129,
> position 21.
>
> What I have now...
>
> <exec program="ISCmdBld" >
> <arg value="-p ${WorkDirInstallShield}WEA_MAPAdminWebWeb_Install.ism"
/>
> <arg value="-a MAPAdminWeb_Install" />
> <arg value="-c Release 1" />
> </exec>
>
> But causes this error...
>
> [exec] -1113: The 'p
>
C:\MAP\Applications\DevInt\Install_Shield\NWEA_MAPAdminWebWeb_Install.is
m'
> switch is not recognized.
>
> Thanks in advance for any assistance.
>
> ~Robert
>
--
Robert Smith
[EMAIL PROTECTED]
-------------------------------------------------------
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
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------
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_ide95&alloc_id396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users