RE: Apply argument wrapping with msiexec

2010-11-12 Thread Bailey, Darragh
> > [1] From ProcessImpl.java version 1.32, 06/03/22, > > from my version of JDK 1.6: > > > > StringBuilder cmdbuf = new StringBuilder(80); > > for (int i = 0; i < cmd.length; i++) { > > if (i > 0) { > > cmdbuf.append(' '); > > } > > String s = cmd[i

RE: Apply argument wrapping with msiexec

2010-11-11 Thread Bailey, Darragh
> -Original Message- > From: Niklas Matthies [mailto:ml_ant-u...@nmhq.net] > Sent: 10 November 2010 21:11 > To: user@ant.apache.org > Subject: Re: Apply argument wrapping with msiexec > > This is interesting. It's caused by Java's Runtime.exec(), which &

RE: Apply argument wrapping with msiexec

2010-11-11 Thread Bailey, Darragh
> -Original Message- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: 10 November 2010 21:52 > To: Ant Users List > Subject: RE: Apply argument wrapping with msiexec > > > coming late into the game.. > > I ALWAYS use C:/DOCUME~1 instead of C:

RE: Apply argument wrapping with msiexec

2010-11-10 Thread Martin Gainty
accepter aucune responsabilité pour le contenu fourni. > Date: Wed, 10 Nov 2010 22:10:57 +0100 > From: ml_ant-u...@nmhq.net > To: user@ant.apache.org > Subject: Re: Apply argument wrapping with msiexec > > This is interesting. It's caused by Java's Runtime.exec(), whi

Re: Apply argument wrapping with msiexec

2010-11-10 Thread Niklas Matthies
This is interesting. It's caused by Java's Runtime.exec(), which doesn't handle embedded double quotes in command line arguments appropriately for this use case. To pass the command line to Win32's CreateProcess function, which takes the command line as a single string, Java needs to concatenate t

RE: Apply argument wrapping with msiexec

2010-11-10 Thread Bailey, Darragh
> -Original Message- > From: Stefan Bodewig [mailto:bode...@apache.org] > Sent: 10 November 2010 16:14 > To: user@ant.apache.org > Subject: Re: Apply argument wrapping with msiexec > > On 2010-11-09, Bailey, Darragh wrote: > > > I have the

Re: Apply argument wrapping with msiexec

2010-11-10 Thread Stefan Bodewig
On 2010-11-09, Bailey, Darragh wrote: > I have the following target in a project > > > > > > > > > > > > Basically the problem appears to be with the TARGETDIR line. If I > remove that line, then the msiexec command will run just