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 my programs 
in INSTALLDIR because it cuts off the
path at the first space.

The relevant code section is:

    <Binary Id='CMDEXE' SourceFile='C:\WINDOWS\System32\cmd.exe' />

    <CustomAction Id='LaunchSetup' BinaryKey='CMDEXE'
       Execute='deferred'
       ExeCommand='/k "[INSTALLDIR]"/myprogram.exe' Return='asyncWait'
    />

The result is this:

    'C:\Program' is not recognized as an internal or external command,
    operable program or batch file.

    C:\WINDOWS\system32>

I've tried single-quote, double-quote, multiple-quotes, &quot; , nothing works.





------------------------------------------------------------------------------
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