Page 1 of 1
return values of setup.exe
Posted: Tue Jan 05, 2010 3:53 am
by alibaba
Hello,
I want to set some exit codes for my updater, like 2 (update found) and so on. I recognized that the setup.exe already has some more exit codes than 0 like exit codes for "dll not found", 23 I think.
Where can I find all possible exit codes of setup.exe to avoid overlapping of my own exit codes with built in exit codes?
Thank you!
Re: return values of setup.exe
Posted: Fri Sep 17, 2010 11:26 am
by gsaunders
alibaba wrote:Hello,
I want to set some exit codes for my updater, like 2 (update found) and so on. I recognized that the setup.exe already has some more exit codes than 0 like exit codes for "dll not found", 23 I think.
Where can I find all possible exit codes of setup.exe to avoid overlapping of my own exit codes with built in exit codes?
Thank you!
I would be interested in knowing this as well.
And will only a code be returned if the Terminate with Exit Code is there or is there some sort of return code automatically handled in the resulting setup.exe.
Re: return values of setup.exe
Posted: Fri Sep 17, 2010 7:26 pm
by mills
A normal Terminate Install returns code zero. I've asked development if we can get a list of other codes that could be returned.
Re: return values of setup.exe
Posted: Mon Sep 20, 2010 2:24 pm
by mills
Development insists you should be able to define your own return values. They also said there shouldn't be any pre-defined return codes.
If you are able to reproduce a return value other than zero or your own definition, we'd be interested in hearing how to reproduce it.