cancel
Showing results for 
Search instead for 
Did you mean: 
deepti_raina
Pilgrim

Execute external exe with parameters using InstallShield.

hi,

I have to execute a java code for which created exe. Tried to launch this exe using LaunchAppAndWait,
something like this:
LaunchAppAndWait(szProgram,szCmdLine, LAAW_OPTION_WAIT);
where szProgram="sampleJavaCode.exe"
and szCmdLine="param1 param2>log.txt".

With this code, command prompt is launched and then nothing happens.

Need help.
Labels (1)
0 Kudos
1 Reply
Highlighted
RobertDickau
Pilgrim

Re: Execute external exe with parameters using InstallShield.

[thread=193982]This thread[/thread] might help. The Windows functions that LaunchAppAndWait uses don't support output redirection with > (the command processor does that), so you might need to launch a batch file or launch cmd.exe directly, assuming the command works without the > part.
0 Kudos