On Thursday, September 27, 2007, at 01:59PM, "John Vottero" <[EMAIL PROTECTED]> 
wrote:
>> On Thursday, September 27, 2007, at 01:00PM, "John Vottero"
>> <[EMAIL PROTECTED]> wrote:
>> >> Should something be properly escaping/quoting the argument? I can
>> slip
>> >> a couple of &quot;s into my arguments string, but that feels like a
>> >> layering hack.
>> >
>> >WiX and MSI have no way of knowing that your argument is a path that
>> >needs to be quoted if it contains a space.  You're going to have to
>> add
>> >the &quot;s.
>> 
>> Surely the Installer knows it is replacing part of a string with a
>> string containing a space? It feels like that's the code that should
>be
>> doing the quoting, but you're probably right about me having to do it
>> instead...
>> 
>
>There's no way for the installer to know if the string that you're
>building is supposed to be one argument (with quotes) or two arguments.

I suppose not. It does automatically quote the string in the Target, though I 
guess that's definitely got to be a single string.

Using extra &quot;s works OK.

Cheers,

Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to