return values of setup.exe

Got a problem you cannot solve? Try here.
Post Reply
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

return values of setup.exe

Post 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!
gsaunders
Posts: 81
Joined: Mon Aug 16, 2010 2:37 pm

Re: return values of setup.exe

Post 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.
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: return values of setup.exe

Post 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.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: return values of setup.exe

Post 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.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply