Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Rob Mensching
ent: Friday, December 20, 2013 2:12 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces What exactly is not intuitive is whereever you see an example you see [INSTALLDIR]. You don't see [INSTALLDIR]\ . If it was so intuitive then

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
age- > From: Gerry Reno [mailto:gr...@verizon.net] > Sent: Friday, December 20, 2013 2:04 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces > > |ExeCommand='"[INSTALLDIR]\" "[INSTALLDIR]\"'

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Rob Mensching
...@verizon.net] Sent: Friday, December 20, 2013 2:04 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces |ExeCommand='"[INSTALLDIR]\" "[INSTALLDIR]\"' Return='asyncWait' Adding an extra backslash works.

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
a path with a backslash on it. For example: > > test.exe "c:\foo foo\bar\" "c:\baz baz\quuz\" > > > -Original Message- > From: Gerry Reno [mailto:gr...@verizon.net] > Sent: Friday, December 20, 2013 1:46 PM > To: wix-users@lists.sourceforge

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Rob Mensching
ject: Re: [WiX-users] ExeCommand will not accept any path with spaces Yes, agreed. The illustration was just of one of the many ways that were tested. As I stated earlier, I tested both ways including moving the quote to the end. And the command line produces different results than WIX. I just

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
es (x86)/orca/orca.exe" > > C:\> > -- > John Merryweather Cooper > Build & Install Engineer - ESA > Jack Henry & Associates, Inc.® > Shawnee Mission, KS 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com > www.jackhenry.com > > > >

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Rob Mensching
Sent: Friday, December 20, 2013 1:41 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces On 12/20/2013 03:59 PM, Phill Hogland wrote: > Aside from all the other good points which folks have made, if there > was some reason to do th

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 03:59 PM, Phill Hogland wrote: > Aside from all the other good points which folks have made, if there was some > reason to do the following: > '/k "[INSTALLDIR]"/myprogram.exe' > > Is the second double quote above in the wrong place, and should be moved to > the end of the path? > '/k

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread John Cooper
all Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS  66227 Office:  913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Phill Hogland [mailto:phogl...@rimage.com] Sent: Friday, December 20, 2013 3:00 PM To: wix-users@lists.sourceforge.net

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Phill Hogland
Aside from all the other good points which folks have made, if there was some reason to do the following: '/k "[INSTALLDIR]"/myprogram.exe' Is the second double quote above in the wrong place, and should be moved to the end of the path? '/k "[INSTALLDIR]/myprogram.exe"' -- View this message in

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Nicolás Alvarez
2013/12/20 Gerry Reno : > On 12/20/2013 01:20 PM, David Connet wrote: >>> From: Gerry Reno >>> To: wix-users@lists.sourceforge.net >>> Cc: >>> Sent: Friday, December 20, 2013 10:03 AM >>> Subject: Re: [WiX-users] ExeCommand will not accept any

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Rob Mensching
ember 20, 2013 11:04 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces This CUI program requires being executed in a command shell. It's character-based not graph

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 02:23 PM, David Connet wrote: >> From: Gerry Reno >> To: wix-users@lists.sourceforge.net >> Cc: >> Sent: Friday, December 20, 2013 10:42 AM >> Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces >> >> On 12/20/201

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread David Connet
> From: Gerry Reno > To: wix-users@lists.sourceforge.net > Cc: > Sent: Friday, December 20, 2013 10:42 AM > Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces > > On 12/20/2013 01:20 PM, David Connet wrote: >>> From: Gerry Reno >>&g

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread John Cooper
To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces On 12/20/2013 01:57 PM, Jeremy Farrell wrote: >> From: Gerry Reno [mailto:gr...@verizon.net] >> Sent: Friday, December 20, 2013 6:46 PM On 12/20/2013 01:43 PM, >> Jerem

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
Castro [mailto:0ptikgh...@gmx.us] > Sent: Friday, December 20, 2013 10:38 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces > > On 12/20/13, 10:27 AM, Gerry Reno wrote: >> I not certain this will work. It might with something l

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 01:57 PM, Jeremy Farrell wrote: >> From: Gerry Reno [mailto:gr...@verizon.net] >> Sent: Friday, December 20, 2013 6:46 PM >> On 12/20/2013 01:43 PM, Jeremy Farrell wrote: From: Gerry Reno [mailto:gr...@verizon.net] Sent: Friday, December 20, 2013 6:28 PM On 12/20/2013 0

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Rob Mensching
.exe. -Original Message- From: Edwin Castro [mailto:0ptikgh...@gmx.us] Sent: Friday, December 20, 2013 10:38 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces On 12/20/13, 10:27 AM, Gerry Reno wrote: > I not certain this wi

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Jeremy Farrell
> From: Gerry Reno [mailto:gr...@verizon.net] > Sent: Friday, December 20, 2013 6:46 PM > On 12/20/2013 01:43 PM, Jeremy Farrell wrote: > >> From: Gerry Reno [mailto:gr...@verizon.net] > >> Sent: Friday, December 20, 2013 6:28 PM > >> On 12/20/2013 01:16 PM, Edwin Castro wrote: > >>> On 12/20/13, 9

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 01:43 PM, Jeremy Farrell wrote: >> From: Gerry Reno [mailto:gr...@verizon.net] >> Sent: Friday, December 20, 2013 6:28 PM >> On 12/20/2013 01:16 PM, Edwin Castro wrote: >>> On 12/20/13, 9:49 AM, Gerry Reno wrote: It's not a Windows program. It's a CUI program that you launch fro

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Jeremy Farrell
> From: Gerry Reno [mailto:gr...@verizon.net] > Sent: Friday, December 20, 2013 6:28 PM > On 12/20/2013 01:16 PM, Edwin Castro wrote: > > On 12/20/13, 9:49 AM, Gerry Reno wrote: > >> It's not a Windows program. It's a CUI program that you launch from > cmd.exe > > Which you can still more easily s

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 01:20 PM, David Connet wrote: >> From: Gerry Reno >> To: wix-users@lists.sourceforge.net >> Cc: >> Sent: Friday, December 20, 2013 10:03 AM >> Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces >> >> On 12/20/2013 12:4

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Edwin Castro
On 12/20/13, 10:27 AM, Gerry Reno wrote: > I not certain this will work. It might with something like a .bat file since > the system knows that .bat files are > executed by cmd.exe. > > But what is there to tell the system that my exe requires being run by > cmd.exe? Assuming that your exe is

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread David Connet
> From: Gerry Reno > To: wix-users@lists.sourceforge.net > Cc: > Sent: Friday, December 20, 2013 10:03 AM > Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces > > On 12/20/2013 12:49 PM, Edwin Castro wrote: >> On 12/20/13, 9:46 AM, Gerry Reno w

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 01:16 PM, Edwin Castro wrote: > On 12/20/13, 9:49 AM, Gerry Reno wrote: >> It's not a Windows program. It's a CUI program that you launch from cmd.exe > Which you can still more easily start directly. If you insist in > wrapping the call with cmd.exe then you MUST adhere to cmd.exe's

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Edwin Castro
On 12/20/13, 9:49 AM, Gerry Reno wrote: > It's not a Windows program. It's a CUI program that you launch from cmd.exe Which you can still more easily start directly. If you insist in wrapping the call with cmd.exe then you MUST adhere to cmd.exe's funky quotation rules. Do it the easy way and re

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 12:49 PM, Edwin Castro wrote: > On 12/20/13, 9:46 AM, Gerry Reno wrote: >> On 12/20/2013 10:44 AM, David Connet wrote: From: Gerry Reno [mailto:gr...@verizon.net] > >> I don't think that's legal. cmd.exe is not a redistributable file. You can't include

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Edwin Castro
On 12/20/13, 9:46 AM, Gerry Reno wrote: > On 12/20/2013 10:44 AM, David Connet wrote: >> > From: Gerry Reno [mailto:gr...@verizon.net] >> > > >>> >> >> > I don't think that's legal. cmd.exe is not a redistributable file. You >> > can't include it in your installer. > cmd.exe is not being di

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 12:47 PM, Edwin Castro wrote: > On 12/19/13, 5:31 PM, Gerry Reno wrote: >> The relevant code section is: >> >> >> >> >Execute='deferred' >>ExeCommand='/k "[INSTALLDIR]"/myprogram.exe' Return='asyncWait' >> /> > Assuming you are trying to run something legi

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Edwin Castro
On 12/19/13, 5:31 PM, Gerry Reno wrote: > The relevant code section is: > > > > Execute='deferred' >ExeCommand='/k "[INSTALLDIR]"/myprogram.exe' Return='asyncWait' > /> Assuming you are trying to run something legitimate, is there a reason you are trying to wrap mypr

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
On 12/20/2013 10:44 AM, David Connet wrote: > From: Gerry Reno [mailto:gr...@verizon.net] > > >> > I don't think that's legal. cmd.exe is not a redistributable file. You > can't include it in your installer. cmd.exe is not being distributed. Binary is how you call system files. > > And

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Gerry Reno
y, > > Daniel Madill > > -Original Message- > From: Gerry Reno [mailto:gr...@verizon.net] > Sent: December-19-13 8:31 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] ExeCommand will not accept any path with spaces > > I have been trying to get WI

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread David Connet
From: Gerry Reno [mailto:gr...@verizon.net] > > I don't think that's legal. cmd.exe is not a redistributable file. You can't include it in your installer. And if you're building a 32-bit msi on an x64 system, it will definitely be broken. And if that's a customaction that is launching a

Re: [WiX-users] ExeCommand will not accept any path with spaces

2013-12-20 Thread Daniel Madill
assagesallalike/archive/2011/04/23/everyone-quotes-arguments-the-wrong-way.aspx. Sincerely, Daniel Madill -Original Message- From: Gerry Reno [mailto:gr...@verizon.net] Sent: December-19-13 8:31 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ExeCommand will not accept any

[WiX-users] ExeCommand will not accept any path with spaces

2013-12-19 Thread Gerry Reno
I have been trying to get WIX to deal with an ExeCommand which uses INSTALLDIR which contains spaces in the path without success. I won't repeat the bug I opened on this. Here is the link: http://wixtoolset.org/issues/4257/ As you can see in the bug. I cannot get a cmd.exe to launch one of m