#1184 SFX pass through return code


Please implement a way for the program being executed in the self extracting installer to pass its return code through the sfx, to the environment that ran the sfx executable. Right now, when you run the sfx executable, it decompresses the archive to a temp folder and runs the program specified by ExecuteFile in the config file. This program returns a code, but the sfx executable ignores it and returns 0.


  • Daz_1234

    Daz_1234 - 2015-01-08

    +1 for this. Being able to return the exit code of the command executed by sfx is critical to using sfx packages from an application deployment system like SCCM or Altiris.

  • tozevv

    tozevv - 2015-04-07

    Hi! I would really use this feature as well. I
    created a very small patch (3 loc) on SfxSetup.c file that apparently does the trick.

    The attached patch applies to version 9.38, C\Util\SfxSetup\SfxSetup.c file.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks