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 remove cmd.exe from your invocation.

It looks like you don't have command line arguments for myprogram.exe...

Assuming the File/@Id for myprogram.exe is myprogram.exe, I would try

<CustomAction Id="Launch_myprogram.exe"
              FileKey="myprogram.exe"
              ExeCommand=""
              Execute="deferred"
              Return="asyncWait"/>

Or to run myprogram.exe without showing the Command Prompt window...

<SetProperty Id="Launch_myprogram.exe"
             Before="Launch_myprogram.exe"
             Sequence="execute"
             Value="&quot;[#myprogram.exe]&quot;"/>
<CustomAction Id="Launch_myprogram.exe"
              BinaryKey="CAQuietExec"
              Execute="deferred"
              Return="asyncWait"/>

--
Edwin


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