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 got finished another battery of tests without calling cmd.exe and got 
the exact same results where quoted
arguments are not being handled correctly.

I updated the bug with the results.  There is a test.c program in there that 
anyone can use to test with.



On 12/20/2013 04:23 PM, John Cooper wrote:
> Yes.
>
> For example, (definitely NOT endorsing using cmd.exe to start executables):
>
> C:\>cmd.exe /c "c:\Program Files (x86)\orca"\orca.exe
> 'c:\Program' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\>cmd.exe /c c:\Program Files (x86)\orca\orca.exe
> 'c:\Program' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\>cmd.exe /c "c:\Program Files (x86)\orca\orca.exe"
>
> C:\>
> C:\>cmd.exe /c "c:\Program Files (x86)\orca\orca.exe"
>
> C:\>
>
> In the latter case, orca.exe starts.  In the former, the error message is 
> self-explanatory.
>
> Using forward slashes doesn't change the result:
>
> C:\>cmd.exe /c c:/Program Files (x86)/orca/orca.exe
> 'c:/Program' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\>cmd.exe /c "c:/Program Files (x86)/orca"/orca.exe
> 'c:/Program' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\>cmd.exe /c "c:/Program Files (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
>
>
>
> -----Original Message-----
> From: Phill Hogland [mailto:phogl...@rimage.com] 
> Sent: Friday, December 20, 2013 3:00 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] ExeCommand will not accept any path with spaces
>
> 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 context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ExeCommand-will-not-accept-any-path-with-spaces-tp7591450p7591487.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT 
> organizations don't have a clear picture of how application performance 
> affects their revenue. With AppDynamics, you get 100% visibility into your 
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> NOTICE: This electronic mail message and any files transmitted with it are 
> intended
> exclusively for the individual or entity to which it is addressed. The 
> message, 
> together with any attachment, may contain confidential and/or privileged 
> information.
> Any unauthorized review, use, printing, saving, copying, disclosure or 
> distribution 
> is strictly prohibited. If you have received this message in error, please 
> immediately advise the sender by reply email and delete all copies.
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT 
> organizations don't have a clear picture of how application performance 
> affects their revenue. With AppDynamics, you get 100% visibility into your 
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to