PDA

View Full Version : LaunchAppAndWait return value



Yan___
12-20-2001, 04:16 AM
I have a Delphi registering tool (I have make) and I want to get is Return value but the LaunchAppAndWait() function don't hollow me to take this value.

The return value of the function is always 0 if the EXE file is found.

JacobLevin
12-20-2001, 09:04 AM
Right now LaunchAppAndWait will only return whether it was successful in launching your application and it will ignore any return code the application returns.

There is an example that does this on http://www.installsite.org and an updated version of the LaunchAppAndWait function is planned to be included in a future version of the product.

vivekroy
01-20-2007, 05:53 AM
Please provide me a link to this example file. I couldn't find it.

samsquared
01-30-2007, 09:27 AM
If you're looking for an improved version of LaunchAppAndWait. go to www.installsite.org, expand InstallScript Samples, and select "External Programs and Shell". It's listed under "Extended Version of LaunchAppAndWait".