Session.Message not showing pop up message on product installation screen
问题 I have a customActions class: public static ActionResult Register(Session session) { try { Do SOmething } catch (Exception ex) when (ExceptionManager.catchGenericExcetion(ex)) { var responseMessage =ex.ResponseMessage; if (responseMessage.Contains("Maximum apps created")) { session.Log("maximum limit reached"); using Record record = new Record(0); record[0] = "This is an error!Max apps reached"; session.Message(InstallMessage.Error, record); } return ActionResult.Failure; } return