/** * @param message * @param installationDescription * @param description * @throws CantUpdateApplicationException */ private void runUpdate(InstallationDescription current, InstallationDescription target) throws CantUpdateApplicationException { if (!askUserToProceed()) { this.cantUpdate("You can't login with old application version."); } else { if (logger.isDebugEnabled()) { logger.debug( "Create update builder from " + current.getApplicationVersionObj() + " to " + target.getApplicationVersionObj()); } final UpdateBuilder builder = new UpdateBuilder(current, target); final Update update = builder.getResult(); if (logger.isDebugEnabled()) { logger.debug("Update created " + update); } UpdateResult result = update.perform(this.filesDownloader); this.updateProcessListener.updated(result); } }