This seems like an easy question, as answered here. But, there is more to it.
I want to know if I can capture the error message of a failed action, say from within an onErrorActionList. Then, I could log it, as it isn't a critical failure and we don't want to display it to the user. Is there a built-in variable that stores the error message? I couldn't find this in the documentation.
Ideally, it would look something like the following and log a message like "unknown element nonexistent_component", in this case. So, as you can see in order to log an appropriate message on this componentSelection action, we would require the InstallBuilder error message. Otherwise, there is no way for me to determine, which component that this action failed on and why.
asked 08 Jun '12, 04:51