}
if (install){
image.installPackages(fmris);
//updateCountInSession(image); No need to update the update count since the count will not change. Only installing new component is allowed.
}else{
image.uninstallPackages(fmris);
}
GuiUtil.setSessionValue("restartRequired", Boolean.TRUE);
}catch(Exception ex){
GuiUtil.handleException(handlerCtx, ex);
ex.printStackTrace();