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 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
>>>> 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"/>
>>>> 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?
>>> Why does your program require being run by cmd.exe? How does it know
>> whether or not it was run by cmd.exe? It sounds rather unusual.
>>
>> Read first line.
> The line which says it's a CUI program? That's clear, you've said it many 
> times, but so what? Answer question.

This CUI program requires being executed in a command shell.  It's 
character-based not graphical-based.


>
>>> If myprogram.exe is a file which is being installed by this
>> installer, you've got other complications as well.
>>
>> How so?  Care to explain?
> Not my area of expertise, plenty of discussion in the archives. Depending on 
> the sequencing of the install the file may not be on the system at the time 
> you want to execute it.
So just normal WIX stuff.

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