create return values

Got a problem you cannot solve? Try here.
Ton_B
Posts: 115
Joined: Wed Nov 16, 2005 8:34 am
Location: Netherlands
Contact:

create return values

Postby Ton_B » Wed Aug 16, 2006 3:31 am

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 ?
Ton Blokhuizen
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Aug 16, 2006 5:54 am

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...
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 150 guests