} else {
monitor.setTaskName("Installing bundle");
InputStream contents = null;
try {
contents = supportBundle.openInputStream();
client.installBundle(contents, supportBundle.getName());
} finally {
IOUtils.closeQuietly(contents);
}
deployedVersion = embeddedVersion;
message = "Bundle version " + embeddedVersion + " installed";