This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Execute external exe with parameters using InstallShield.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 24, 2013
04:35 AM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 25, 2013
07:33 AM
[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.