boolean result = true;
for (InstallerRequirement installerrequirement : this.installerrequirements)
{
String conditionid = installerrequirement.getCondition();
Condition condition = RulesEngine.getCondition(conditionid);
if (condition == null)
{
Debug.log(conditionid + " not a valid condition.");
throw new Exception(conditionid + "could not be found as a defined condition");
}
if (!condition.isTrue())
{
String message = installerrequirement.getMessage();
if ((message != null) && (message.length() > 0))
{
String localizedMessage = this.installdata.langpack.getString(message);