Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Problem in calling other EXEs from my EXE using CA

2 replies to this topic


  • Members
  • 3 posts

Posted 26 November 2003 - 23:06


I am having problems in calling other EXEs from my EXE using CA.
I run A.exe form my CA. A.exe runs B.exe, but B.exe does not do its job.
however, when i check the exit code of the B.exe it is reproted as zero.

here is the flow.
CA > A.exe > B.exe stop > B.exe start

I install A.exe and B.exe. My CA is after InstallFinalize and execution type is Immediate.

any tips or hints will help me a lot.



  • Members
  • 19 posts

Posted 27 November 2003 - 00:49

try running it as Defered Execution


  • Moderators
  • 1,447 posts

Posted 27 November 2003 - 01:50

A deferred custom action would ensure that both EXE files are installed to disk before they are run (as should putting immediate actions after InstallFinalize, but a deferred action is better).

Are you installing both executables to the same directory? Mabe you can use dependency walker to ensure that all dependent files are available for the EXE files.

Edited by Glytzhkof, 27 November 2003 - 01:50.

-Stein Åsmul