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!
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."