Our package contains a mixture of DLL and executables. One of the executable has to be pre-launched to be a listener service. As part of post installation action --> system action ----> run program the required executable is attached. The built is done and during test run, installation pauses until the spawned executable is closed.
However our requirement is to have the spawned process to run in the background and installation completes. Any pointers to resolve the issue would be appreciated
You can run an application in the background appending "&" to the arguments, similar to how it is done on Unix, so the installation can continue successfully without waiting for the application ends. For example:
<runProgram progressText="Launch ${project.fullName}" >
<program>${installdir}/bin/app.exe</program>
<programArguments>&</programArguments>
</runProgram>
Please note that the "&" needs to be written in XML escape sequence.
Regards,
Michiel
Thanks, It worked.