From c1c8c3d1c39ae0b91c55d8e5cd12bd03b9f812cd Mon Sep 17 00:00:00 2001 From: Christophe25 Date: Fri, 7 Jan 2022 15:49:18 +0000 Subject: [PATCH] Adds updates check started/completed event handlers Signed-off-by: Christophe25 --- XenAdmin/MainWindow.Designer.cs | 29 +++- XenAdmin/MainWindow.cs | 30 +++- XenAdmin/MainWindow.resx | 289 +++++++++++++++++--------------- XenAdmin/Program.cs | 4 +- 4 files changed, 205 insertions(+), 147 deletions(-) diff --git a/XenAdmin/MainWindow.Designer.cs b/XenAdmin/MainWindow.Designer.cs index 143f76303..a11282845 100644 --- a/XenAdmin/MainWindow.Designer.cs +++ b/XenAdmin/MainWindow.Designer.cs @@ -180,6 +180,7 @@ namespace XenAdmin this.toolStripSeparator23 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItemCertificate = new XenAdmin.Commands.CommandToolStripMenuItem(); this.toolStripMenuItemInstallCertificate = new XenAdmin.Commands.CommandToolStripMenuItem(); + this.toolStripMenuItemResetCertificate = new XenAdmin.Commands.CommandToolStripMenuItem(); this.maintenanceModeToolStripMenuItem1 = new XenAdmin.Commands.CommandToolStripMenuItem(); this.controlDomainMemoryToolStripMenuItem = new XenAdmin.Commands.CommandToolStripMenuItem(); this.RemoveCrashdumpsToolStripMenuItem = new XenAdmin.Commands.CommandToolStripMenuItem(); @@ -274,6 +275,7 @@ namespace XenAdmin this.pluginItemsPlaceHolderToolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); this.aboutXenSourceAdminToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MainMenuBar = new XenAdmin.Controls.MenuStripEx(); + this.updateClientToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.securityGroupsToolStripMenuItem = new XenAdmin.Commands.CommandToolStripMenuItem(); this.MenuPanel = new System.Windows.Forms.Panel(); this.StatusStrip = new System.Windows.Forms.StatusStrip(); @@ -282,7 +284,6 @@ namespace XenAdmin this.statusLabelErrors = new System.Windows.Forms.ToolStripStatusLabel(); this.statusLabelUpdates = new System.Windows.Forms.ToolStripStatusLabel(); this.statusLabelAlerts = new System.Windows.Forms.ToolStripStatusLabel(); - this.toolStripMenuItemResetCertificate = new XenAdmin.Commands.CommandToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); @@ -1286,6 +1287,12 @@ namespace XenAdmin this.toolStripMenuItemInstallCertificate.Name = "toolStripMenuItemInstallCertificate"; resources.ApplyResources(this.toolStripMenuItemInstallCertificate, "toolStripMenuItemInstallCertificate"); // + // toolStripMenuItemResetCertificate + // + this.toolStripMenuItemResetCertificate.Command = new XenAdmin.Commands.ResetCertificateCommand(); + this.toolStripMenuItemResetCertificate.Name = "toolStripMenuItemResetCertificate"; + resources.ApplyResources(this.toolStripMenuItemResetCertificate, "toolStripMenuItemResetCertificate"); + // // maintenanceModeToolStripMenuItem1 // this.maintenanceModeToolStripMenuItem1.Command = new XenAdmin.Commands.HostMaintenanceModeCommand(); @@ -1914,11 +1921,22 @@ namespace XenAdmin this.templatesToolStripMenuItem, this.toolsToolStripMenuItem, this.windowToolStripMenuItem, - this.helpToolStripMenuItem}); + this.helpToolStripMenuItem, + this.updateClientToolStripMenuItem}); this.MainMenuBar.Name = "MainMenuBar"; this.MainMenuBar.MenuActivate += new System.EventHandler(this.MainMenuBar_MenuActivate); this.MainMenuBar.MouseClick += new System.Windows.Forms.MouseEventHandler(this.MainMenuBar_MouseClick); // + // updateClientToolStripMenuItem + // + this.updateClientToolStripMenuItem.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.updateClientToolStripMenuItem.BackColor = System.Drawing.SystemColors.Window; + resources.ApplyResources(this.updateClientToolStripMenuItem, "updateClientToolStripMenuItem"); + this.updateClientToolStripMenuItem.Image = global::XenAdmin.Properties.Resources._075_WarningRound_h32bit_16; + this.updateClientToolStripMenuItem.Margin = new System.Windows.Forms.Padding(0, 0, 5, 0); + this.updateClientToolStripMenuItem.Name = "updateClientToolStripMenuItem"; + this.updateClientToolStripMenuItem.Click += new System.EventHandler(this.updateToolStripMenuItem_Click); + // // securityGroupsToolStripMenuItem // this.securityGroupsToolStripMenuItem.Name = "securityGroupsToolStripMenuItem"; @@ -1993,12 +2011,6 @@ namespace XenAdmin this.statusLabelAlerts.VisitedLinkColor = System.Drawing.SystemColors.ControlDarkDark; this.statusLabelAlerts.Click += new System.EventHandler(this.statusLabelAlerts_Click); // - // toolStripMenuItemResetCertificate - // - this.toolStripMenuItemResetCertificate.Command = new XenAdmin.Commands.ResetCertificateCommand(); - this.toolStripMenuItemResetCertificate.Name = "toolStripMenuItemResetCertificate"; - resources.ApplyResources(this.toolStripMenuItemResetCertificate, "toolStripMenuItemResetCertificate"); - // // MainWindow // resources.ApplyResources(this, "$this"); @@ -2281,6 +2293,7 @@ namespace XenAdmin private XenAdmin.Commands.CommandToolStripMenuItem toolStripMenuItemWlb; private XenAdmin.Commands.CommandToolStripMenuItem toolStripMenuItemCertificate; private XenAdmin.Commands.CommandToolStripMenuItem toolStripMenuItemResetCertificate; + private System.Windows.Forms.ToolStripMenuItem updateClientToolStripMenuItem; } } diff --git a/XenAdmin/MainWindow.cs b/XenAdmin/MainWindow.cs index ad918e5a7..af8d1cc5b 100755 --- a/XenAdmin/MainWindow.cs +++ b/XenAdmin/MainWindow.cs @@ -63,7 +63,7 @@ using System.Linq; using XenAdmin.Controls.GradientPanel; using XenAdmin.Help; using XenAdmin.Wizards; - +using System.IO; namespace XenAdmin { @@ -142,6 +142,8 @@ namespace XenAdmin private bool expandTreeNodesOnStartup; private int connectionsInProgressOnStartup; + private ClientUpdateAlert updateAlert = null; + [DllImport("kernel32.dll", CharSet = CharSet.Auto)] static extern uint RegisterApplicationRestart(string pszCommandline, uint dwFlags); @@ -262,6 +264,8 @@ namespace XenAdmin OtherConfigAndTagsWatcher.RegisterEventHandlers(); Alert.RegisterAlertCollectionChanged(XenCenterAlerts_CollectionChanged); Updates.UpdateAlertCollectionChanged += Updates_CollectionChanged; + Updates.CheckForUpdatesStarted += UpdatesCheck_Started; + Updates.CheckForUpdatesCompleted += UpdatesCheck_Completed; ConnectionsManager.History.CollectionChanged += History_CollectionChanged; //ConnectionsManager.XenConnections.CollectionChanged is registered in OnShown Properties.Settings.Default.SettingChanging += Default_SettingChanging; @@ -275,6 +279,8 @@ namespace XenAdmin OtherConfigAndTagsWatcher.DeregisterEventHandlers(); Alert.DeregisterAlertCollectionChanged(XenCenterAlerts_CollectionChanged); Updates.UpdateAlertCollectionChanged -= Updates_CollectionChanged; + Updates.CheckForUpdatesStarted -= UpdatesCheck_Started; + Updates.CheckForUpdatesCompleted -= UpdatesCheck_Completed; ConnectionsManager.History.CollectionChanged -= History_CollectionChanged; ConnectionsManager.XenConnections.CollectionChanged -= XenConnection_CollectionChanged; Properties.Settings.Default.SettingChanging -= Default_SettingChanging; @@ -2658,6 +2664,20 @@ namespace XenAdmin }); } + private void UpdatesCheck_Completed(bool suceeded, string err) + { + + Program.Invoke(this, () => { + updateAlert = Updates.UpdateAlerts.FirstOrDefault(update => update is ClientUpdateAlert) as ClientUpdateAlert; + updateClientToolStripMenuItem.Enabled = true;//updateAlert != null; + }); + } + + private void UpdatesCheck_Started() + { + Program.Invoke(this, () => { updateClientToolStripMenuItem.Enabled = false; }); + } + private void CloseWhenActionsCanceled(object o) { int i = 0; @@ -3309,5 +3329,13 @@ namespace XenAdmin { navigationPane.SwitchToNotificationsView(NotificationsSubMode.Events); } + + private void updateToolStripMenuItem_Click(object sender, EventArgs e) + { + var downloadAndInstallClientAction = new DownloadAndUpdateClientAction(updateAlert.Name, new Uri(updateAlert.NewVersion.Url), Path.Combine(Path.GetTempPath(), $"{updateAlert.Name}.msi"), true); + + using (var dlg = new ActionProgressDialog(downloadAndInstallClientAction, ProgressBarStyle.Marquee)) + dlg.ShowDialog(Parent); + } } } diff --git a/XenAdmin/MainWindow.resx b/XenAdmin/MainWindow.resx index 8d31c2ab2..0bc377f24 100644 --- a/XenAdmin/MainWindow.resx +++ b/XenAdmin/MainWindow.resx @@ -145,7 +145,7 @@ navigationPane - XenAdmin.Controls.MainWindowControls.NavigationPane, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Controls.MainWindowControls.NavigationPane, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null splitContainer1.Panel1 @@ -577,7 +577,7 @@ snapshotPage - XenAdmin.TabPages.SnapshotsPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.TabPages.SnapshotsPage, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null TabPageSnapshots @@ -928,7 +928,7 @@ alertPage - XenAdmin.TabPages.AlertSummaryPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.TabPages.AlertSummaryPage, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null splitContainer1.Panel2 @@ -958,7 +958,7 @@ updatesPage - XenAdmin.TabPages.ManageUpdatesPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.TabPages.ManageUpdatesPage, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null splitContainer1.Panel2 @@ -988,7 +988,7 @@ eventsPage - XenAdmin.TabPages.HistoryPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.TabPages.HistoryPage, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null splitContainer1.Panel2 @@ -1132,7 +1132,7 @@ loggedInLabel1 - XenAdmin.Controls.LoggedInLabel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Controls.LoggedInLabel, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolTipContainer1 @@ -1159,7 +1159,7 @@ toolTipContainer1 - XenAdmin.Controls.ToolTipContainer, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Controls.ToolTipContainer, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null tableLayoutPanel1 @@ -1207,7 +1207,7 @@ TitleBackPanel - XenAdmin.Controls.GradientPanel.VerticalGradientPanel, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Controls.GradientPanel.VerticalGradientPanel, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null splitContainer1.Panel2 @@ -1807,7 +1807,7 @@ ToolStrip - XenAdmin.Controls.ToolStripEx, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Controls.ToolStripEx, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null $this @@ -2248,13 +2248,13 @@ 213, 6 - 180, 22 + 171, 22 &Install Certificate... - 180, 22 + 171, 22 &Reset Certificate @@ -2713,7 +2713,7 @@ False - 228, 22 + 186, 22 Help &Contents @@ -2722,46 +2722,46 @@ F1 - 228, 22 + 186, 22 Conte&xt Help - 225, 6 + 183, 6 - 228, 22 + 186, 22 View {0} &Log Files - 225, 6 + 183, 6 - 228, 22 + 186, 22 {0} on the &Web - 228, 22 + 186, 22 {0} &Plugins online - 225, 6 + 183, 6 - 228, 22 + 186, 22 PluginItemsPlaceHolder - 228, 22 + 186, 22 &About {0} @@ -2784,6 +2784,15 @@ Microsoft Sans Serif, 8.25pt + + False + + + 99, 20 + + + Update Client + 0, 0 @@ -2800,7 +2809,7 @@ MainMenuBar - XenAdmin.Controls.MenuStripEx, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Controls.MenuStripEx, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null MenuPanel @@ -2947,7 +2956,7 @@ AddServerToolbarButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator11 @@ -2959,19 +2968,19 @@ AddPoolToolbarButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null newStorageToolbarButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null NewVmToolbarButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator12 @@ -2983,79 +2992,79 @@ shutDownToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null powerOnHostToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null startVMToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null RebootToolbarButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null resumeToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null SuspendToolbarButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ForceShutdownToolbarButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ForceRebootToolbarButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null stopContainerToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null startContainerToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null restartContainerToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null resumeContainerToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null pauseContainerToolStripButton - XenAdmin.Commands.CommandToolStripButton, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripButton, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null statusToolTip @@ -3079,13 +3088,13 @@ FileImportVMToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null importSearchToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator21 @@ -3181,7 +3190,7 @@ AddPoolToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator8 @@ -3193,25 +3202,25 @@ addServerToolStripMenuItem - XenAdmin.Commands.AddHostToSelectedPoolToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.AddHostToSelectedPoolToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null removeServerToolStripMenuItem - XenAdmin.Commands.PoolRemoveServerToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.PoolRemoveServerToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null poolReconnectAsToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null disconnectPoolToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator27 @@ -3223,7 +3232,7 @@ virtualAppliancesToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator30 @@ -3235,73 +3244,73 @@ highAvailabilityToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItemHaConfigure - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItemHaDisable - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null disasterRecoveryToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null drConfigureToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null DrWizardToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null VMSnapshotScheduleToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null exportResourceReportPoolToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItemWlb - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null wlbReportsToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null wlbDisconnectToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null conversionToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator9 @@ -3313,19 +3322,19 @@ changePoolPasswordToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItemRotateSecret - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItemEnableTls - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItem1 @@ -3337,7 +3346,7 @@ deleteToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator26 @@ -3355,7 +3364,7 @@ PoolPropertiesToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null HostMenuItem @@ -3367,7 +3376,7 @@ AddHostToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItem11 @@ -3379,25 +3388,25 @@ RebootHostToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null powerOnToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ShutdownHostToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null restartToolstackToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator1 @@ -3415,19 +3424,19 @@ ReconnectToolStripMenuItem1 - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null DisconnectToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null reconnectAsToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator4 @@ -3439,25 +3448,25 @@ connectAllToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null disconnectAllToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null addServerToPoolMenuItem - XenAdmin.Commands.AddSelectedHostToPoolToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.AddSelectedHostToPoolToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null menuItemRemoveFromPool - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator3 @@ -3469,13 +3478,13 @@ backupToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null restoreFromBackupToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator23 @@ -3487,49 +3496,55 @@ toolStripMenuItemCertificate - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItemInstallCertificate - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + + + toolStripMenuItemResetCertificate + + + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null maintenanceModeToolStripMenuItem1 - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null controlDomainMemoryToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null RemoveCrashdumpsToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null HostPasswordToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ChangeRootPasswordToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null forgetSavedPasswordToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator25 @@ -3541,13 +3556,13 @@ destroyServerToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null removeHostToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator15 @@ -3565,7 +3580,7 @@ ServerPropertiesToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null VMToolStripMenuItem @@ -3577,31 +3592,31 @@ NewVmToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null startShutdownToolStripMenuItem - XenAdmin.Commands.VMLifeCycleToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.VMLifeCycleToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null resumeOnToolStripMenuItem - XenAdmin.Commands.ResumeVMOnHostToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.ResumeVMOnHostToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null relocateToolStripMenuItem - XenAdmin.Commands.MigrateVMToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.MigrateVMToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null startOnHostToolStripMenuItem - XenAdmin.Commands.StartVMOnHostToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.StartVMOnHostToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator20 @@ -3613,13 +3628,13 @@ assignSnapshotScheduleToolStripMenuItem - XenAdmin.Commands.AssignGroupToolStripMenuItemVMSS, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.AssignGroupToolStripMenuItemVMSS, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null assignToVirtualApplianceToolStripMenuItem - XenAdmin.Commands.AssignGroupToolStripMenuItemVM_appliance, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.AssignGroupToolStripMenuItemVM_appliance, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItem9 @@ -3631,49 +3646,49 @@ copyVMtoSharedStorageMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null MoveVMToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null snapshotToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null convertToTemplateToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null exportToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null disableCbtToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null enablePVSReadcachingToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null disablePVSReadcachingToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItem12 @@ -3685,7 +3700,7 @@ installToolsToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null sendCtrlAltDelToolStripMenuItem @@ -3703,7 +3718,7 @@ uninstallToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator10 @@ -3721,7 +3736,7 @@ VMPropertiesToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripMenuItem8 @@ -3739,7 +3754,7 @@ AddStorageToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator22 @@ -3751,13 +3766,13 @@ RepairStorageToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null DefaultSRToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator2 @@ -3769,25 +3784,25 @@ virtualDisksToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null addVirtualDiskToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null attachVirtualDiskToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null reclaimFreedSpacetripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator19 @@ -3799,25 +3814,25 @@ DetachStorageToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ReattachStorageRepositoryToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ForgetStorageRepositoryToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null DestroyStorageRepositoryToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator18 @@ -3835,7 +3850,7 @@ SRPropertiesToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null templatesToolStripMenuItem @@ -3847,19 +3862,19 @@ CreateVmFromTemplateToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null newVMFromTemplateToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null InstantVmToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator29 @@ -3871,13 +3886,13 @@ exportTemplateToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null duplicateTemplateToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator16 @@ -3889,7 +3904,7 @@ uninstallTemplateToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator28 @@ -3907,7 +3922,7 @@ templatePropertiesToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolsToolStripMenuItem @@ -3919,13 +3934,13 @@ bugToolToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null healthCheckToolStripMenuItem1 - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator14 @@ -3949,13 +3964,13 @@ installNewUpdateToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null rollingUpgradeToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null toolStripSeparator6 @@ -4053,11 +4068,17 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + updateClientToolStripMenuItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + securityGroupsToolStripMenuItem - XenAdmin.Commands.CommandToolStripMenuItem, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + XenAdmin.Commands.CommandToolStripMenuItem, [XenCenter_No_Space]Main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null statusProgressBar @@ -4089,12 +4110,6 @@ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - toolStripMenuItemResetCertificate - - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - MainWindow diff --git a/XenAdmin/Program.cs b/XenAdmin/Program.cs index f148a2ca4..8825ecff0 100644 --- a/XenAdmin/Program.cs +++ b/XenAdmin/Program.cs @@ -997,7 +997,9 @@ namespace XenAdmin /// public static bool ForcedExiting = false; - public static Version Version => Assembly.GetExecutingAssembly().GetName().Version; + //public static Version Version => Assembly.GetExecutingAssembly().GetName().Version; + public static Version Version => new Version(1, 0, 0, 0);//Assembly.GetExecutingAssembly().GetName().Version; + public static string CurrentLanguage => Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName;