CA-176932: "Remove hotfix installation files" checkbox available even for supp packs.

This commit is contained in:
Carmen Agimof 2015-07-20 14:34:58 +01:00
parent 4c93dbe92e
commit 027de45dee

View File

@ -40,11 +40,14 @@ using XenAdmin.Controls;
using XenAdmin.Core; using XenAdmin.Core;
using XenAdmin.Dialogs; using XenAdmin.Dialogs;
using XenAPI; using XenAPI;
using XenAdmin.Alerts;
namespace XenAdmin.Wizards.PatchingWizard namespace XenAdmin.Wizards.PatchingWizard
{ {
public partial class PatchingWizard_ModePage : XenTabPage public partial class PatchingWizard_ModePage : XenTabPage
{ {
public XenServerPatchAlert SelectedUpdateAlert { private get; set; }
public PatchingWizard_ModePage() public PatchingWizard_ModePage()
{ {
InitializeComponent(); InitializeComponent();
@ -108,6 +111,12 @@ namespace XenAdmin.Wizards.PatchingWizard
textBoxLog.Text = PatchingWizardModeGuidanceBuilder.ModeSuppPack(SelectedServers); textBoxLog.Text = PatchingWizardModeGuidanceBuilder.ModeSuppPack(SelectedServers);
break; break;
} }
if (SelectedUpdateAlert == null)
{
removeUpdateFileCheckBox.Checked = false;
removeUpdateFileCheckBox.Enabled = false;
}
} }
public override bool EnableNext() public override bool EnableNext()