I built a SFX using 7zip and the SFXMod.
This successfully extracts files and runs the RunProgram. However it looks like it is completely ignoring the return code of the RunProgram and spawning a FinishMessage instead of the expected ErrorMessage.
Is this the correct behaviour? I could not find any explicit documentation around that, but many forum posts mention that 7zip SFX are designed to intercept and handle the return codes
The RunProgram is a batch script calling a python script using a specific Python version.
The python script returns 2 if fails, and the batch script does the same.
I built a SFX using 7zip and the SFXMod. This successfully extracts files and runs the RunProgram. However it looks like it is completely ignoring the return code of the RunProgram and spawning a FinishMessage instead of the expected ErrorMessage.
Is this the correct behaviour? I could not find any explicit documentation around that, but many forum posts mention that 7zip SFX are designed to intercept and handle the return codes
The RunProgram is a batch script calling a python script using a specific Python version. The python script returns 2 if fails, and the batch script does the same.