Page 1 of 1

create return values

Posted: Wed Aug 16, 2006 3:31 am
by Ton_B
Hi,

I've got 2 questions:

1)
I want my setup to create return values such as error numbers and a value when the setup has completed succesfully.
When I run this setup using the run program function (inside another setup) I want to capture the result of the setup inside a variable.

I want to use this, because this setup is an setup for additional functionalities of my software wich will not be included in the original setup.

Any idea how this works?


2)
I also found out that when I use the decompressor tool (I've recompressed the microsoft dotnetfx.exe) the new file does not return any values anymore. (the original did return values)...

am I doing something wrong ?

Posted: Wed Aug 16, 2006 5:54 am
by MichaelNesmith
1) Use the Terminate with Exit Code command to exit your setup and return a custom error code.

2) The decompressor does not change the setup program itself, shouldn't be happening...