add OnEmptyTrash event into installer