Example #1
0
        private bool CheckFixupIsoInXencenterInstallation(out string error)
        {
            error = string.Empty;

            var theVdi = Connection.Cache.VDIs.FirstOrDefault(vdi => vdi != null && vdi.name_label == OVF.GetISOFixupFileName());

            if (theVdi != null || File.Exists(OVF.GetISOFixupPath()))
            {
                return(true);
            }

            error = Messages.IMPORT_OPTIONS_PAGE_ERROR_NO_FIXUP_ISO_INSTALLED;
            return(false);
        }