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.
Photo

non-zero exit code from installshield?


1 reply to this topic

todd_lee

todd_lee
  • Members
  • 2 posts

Posted 28 March 2005 - 19:12

I've read a fair bit about trying to get exit codes from custom actions or external code etc. but I have yet to find something that will let me (intentionally) return a non-zero exit code from the installshield process.

I've got an mfc application that has to launch an installshield 'wrapper' and branch based on that process' exit code. Within the wrapper, I have a condition where I will call 'abort' to terminate the setup. The problem is, 'abort' still seems to exit with the same value as a normal process exit.

Any suggestions are appreciated.

Thanks
Todd

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 March 2005 - 08:22

I don't think that's possible. As a workaround you could temporarily store the result in a registry entry or a file, from where your MFC app can pick it up.