setup.exe return value

Got a problem you cannot solve? Try here.
jsmith
Posts: 178
Joined: Tue Nov 04, 2008 10:47 am

setup.exe return value

Postby jsmith » Wed Dec 17, 2008 5:12 pm

From another program, I'd like to run my InstallAware-built setup.exe in silent mode and capture the return value from setup.exe. It seems that the return value is always 0 regardless of whether the install succeeded of failed. Is there something I can do in the MSICode to cause the return value to be something else to signify that the install/uninstall was not successful? Thanks in advance to anyone that can help!

ulrichard
Posts: 150
Joined: Thu Dec 27, 2007 5:45 am
Location: Switzerland
Contact:

Postby ulrichard » Thu Dec 18, 2008 2:07 am

Hi Jsmith,

did you use the "Terminate with Exit Code " command?

Rgds
Richard
http://www.pointline.com
http://www.paraeasy.ch
http://ulrichard.ch

jsmith
Posts: 178
Joined: Tue Nov 04, 2008 10:47 am

Postby jsmith » Thu Dec 18, 2008 8:30 am

Thanks, Richard. That's really useful. The script doesn't explicitly call Terminate Install. I didn't find the Terminate with Exit Code command whilst searching because I was looking for things like "return code" and "result value."


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 29 guests