From 8f4614b355d2155067a95c51e7942ecca04e62e5 Mon Sep 17 00:00:00 2001 From: robvde Date: Sat, 5 Jan 2013 10:42:04 +0400 Subject: [PATCH 01/11] Fixed Exchange Offline Address Book Generation To recover from previous versions: search on oab.xml within the address list server, remove all oab.xml files with a size of 1kb and run Get-OfflineAddressBook | Update-OfflineAddressBook --- .../WebsitePanel.Providers.HostedSolution/Exchange2007.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/Exchange2007.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/Exchange2007.cs index f972983b..21a8d875 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/Exchange2007.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/Exchange2007.cs @@ -5072,9 +5072,9 @@ namespace WebsitePanel.Providers.HostedSolution string path = AddADPrefix(id); - Command cmd = new Command("Update-OfflineAddressBook"); - cmd.Parameters.Add("Identity", id); - ExecuteShellCommand(runSpace, cmd); + //Command cmd = new Command("Update-OfflineAddressBook"); + //cmd.Parameters.Add("Identity", id); + //ExecuteShellCommand(runSpace, cmd); AdjustADSecurity(path, securityGroup, true); From 5595e608325153b2348477853681d7f535786ad1 Mon Sep 17 00:00:00 2001 From: Virtuworks Date: Mon, 7 Jan 2013 16:24:49 -0500 Subject: [PATCH 02/11] Added tag build-2.0.0.237 for changeset 3705e3ca89dc From 0c79b2cb032c8d30e9c08c465eee2ceb7e6741cb Mon Sep 17 00:00:00 2001 From: Virtuworks Date: Mon, 7 Jan 2013 16:31:52 -0500 Subject: [PATCH 03/11] Added tag build-2.0.0.239 for changeset 3705e3ca89dc From 0e1a2bd8acba63fd381611c6140703c7fc1a6444 Mon Sep 17 00:00:00 2001 From: Virtuworks Date: Tue, 8 Jan 2013 11:13:50 -0500 Subject: [PATCH 04/11] Create new Installer Services to seperate product Feeds by Version. This will allow for prior versions to update properly. --- .../Properties/Settings.Designer.cs | 6 +-- .../Properties/Settings.settings | 2 +- .../ServiceProviderProxy.cs | 2 +- .../InstallerService/InstallerService-2.disco | 6 +++ ...erService.wsdl => InstallerService-2.wsdl} | 18 +++---- .../InstallerService/InstallerService.disco | 6 --- .../InstallerService/Reference.cs | 40 +++++++------- .../InstallerService/Reference.map | 4 +- .../WebsitePanel.Installer.Core.csproj | 13 +++-- .../WebsitePanel.Installer.Core/app.config | 2 +- .../Services/InstallerService-2.0.asmx | 1 + .../Services/InstallerService-2.0.asmx.cs | 53 +++++++++++++++++++ .../Services/InstallerService-2.1.asmx | 1 + .../Services/InstallerService-2.1.asmx.cs | 53 +++++++++++++++++++ .../WebsitePanel.WebSite.csproj | 8 +++ 15 files changed, 167 insertions(+), 48 deletions(-) create mode 100644 WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService-2.disco rename WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/{InstallerService.wsdl => InstallerService-2.wsdl} (90%) delete mode 100644 WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService.disco create mode 100644 WebsitePanel.WebSite/Sources/WebsitePanel.WebSite/Services/InstallerService-2.0.asmx create mode 100644 WebsitePanel.WebSite/Sources/WebsitePanel.WebSite/Services/InstallerService-2.0.asmx.cs create mode 100644 WebsitePanel.WebSite/Sources/WebsitePanel.WebSite/Services/InstallerService-2.1.asmx create mode 100644 WebsitePanel.WebSite/Sources/WebsitePanel.WebSite/Services/InstallerService-2.1.asmx.cs diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Properties/Settings.Designer.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Properties/Settings.Designer.cs index 26d7262a..3f939f6c 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Properties/Settings.Designer.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Properties/Settings.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.269 +// Runtime Version:4.0.30319.18010 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -12,7 +12,7 @@ namespace WebsitePanel.Installer.Core.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); @@ -26,7 +26,7 @@ namespace WebsitePanel.Installer.Core.Properties { [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] - [global::System.Configuration.DefaultSettingValueAttribute("http://www.websitepanel.net/Services/InstallerService.asmx")] + [global::System.Configuration.DefaultSettingValueAttribute("http://www.websitepanel.net/Services/InstallerService-2.0.asmx")] public string WebsitePanel_Installer_Core_InstallerService_InstallerService { get { return ((string)(this["WebsitePanel_Installer_Core_InstallerService_InstallerService"])); diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Properties/Settings.settings b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Properties/Settings.settings index 849e4839..32a58250 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Properties/Settings.settings +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Properties/Settings.settings @@ -3,7 +3,7 @@ - http://www.websitepanel.net/Services/InstallerService.asmx + http://www.websitepanel.net/Services/InstallerService-2.0.asmx \ No newline at end of file diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/ServiceProviderProxy.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/ServiceProviderProxy.cs index bebbfd30..32379607 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/ServiceProviderProxy.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/ServiceProviderProxy.cs @@ -48,7 +48,7 @@ namespace WebsitePanel.Installer.Core } else { - webService.Url = "http://www.websitepanel.net/Services/InstallerService.asmx"; + webService.Url = "http://www.websitepanel.net/Services/InstallerService-2.0.asmx"; } // check if we need to add a proxy to access Internet diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService-2.disco b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService-2.disco new file mode 100644 index 00000000..a06acfe3 --- /dev/null +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService-2.disco @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService.wsdl b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService-2.wsdl similarity index 90% rename from WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService.wsdl rename to WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService-2.wsdl index 6de2de10..96d74e32 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService.wsdl +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService-2.wsdl @@ -1,5 +1,5 @@ - + @@ -152,7 +152,7 @@ - + @@ -178,7 +178,7 @@ - + @@ -235,7 +235,7 @@ - + @@ -292,12 +292,12 @@ - - - + + + - - + + \ No newline at end of file diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService.disco b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService.disco deleted file mode 100644 index 25fbb398..00000000 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/InstallerService.disco +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/Reference.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/Reference.cs index 93c71fc7..a551daf5 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/Reference.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/Reference.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.1 +// Runtime Version:4.0.30319.18010 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -9,26 +9,26 @@ //------------------------------------------------------------------------------ // -// This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.1. +// This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.18010. // #pragma warning disable 1591 -namespace WebsitePanel.Installer.Services { +namespace WebsitePanel.Installer.Core.InstallerService { using System; using System.Web.Services; using System.Diagnostics; using System.Web.Services.Protocols; - using System.ComponentModel; using System.Xml.Serialization; + using System.ComponentModel; using System.Data; /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Web.Services.WebServiceBindingAttribute(Name="InstallerServiceSoap", Namespace="http://websitepanel.net/services")] - public partial class InstallerService : System.Web.Services.Protocols.SoapHttpClientProtocol { + [System.Web.Services.WebServiceBindingAttribute(Name="InstallerService_20Soap", Namespace="http://websitepanel.net/services")] + public partial class InstallerService_20 : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback GetReleaseFileInfoOperationCompleted; @@ -45,7 +45,7 @@ namespace WebsitePanel.Installer.Services { private bool useDefaultCredentialsSetExplicitly; /// - public InstallerService() { + public InstallerService_20() { this.Url = global::WebsitePanel.Installer.Core.Properties.Settings.Default.WebsitePanel_Installer_Core_InstallerService_InstallerService; if ((this.IsLocalFileSystemWebService(this.Url) == true)) { this.UseDefaultCredentials = true; @@ -299,11 +299,11 @@ namespace WebsitePanel.Installer.Services { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] public delegate void GetReleaseFileInfoCompletedEventHandler(object sender, GetReleaseFileInfoCompletedEventArgs e); /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetReleaseFileInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { @@ -325,11 +325,11 @@ namespace WebsitePanel.Installer.Services { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] public delegate void GetFileChunkCompletedEventHandler(object sender, GetFileChunkCompletedEventArgs e); /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetFileChunkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { @@ -351,11 +351,11 @@ namespace WebsitePanel.Installer.Services { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] public delegate void GetFileSizeCompletedEventHandler(object sender, GetFileSizeCompletedEventArgs e); /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetFileSizeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { @@ -377,11 +377,11 @@ namespace WebsitePanel.Installer.Services { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] public delegate void GetAvailableComponentsCompletedEventHandler(object sender, GetAvailableComponentsCompletedEventArgs e); /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetAvailableComponentsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { @@ -403,11 +403,11 @@ namespace WebsitePanel.Installer.Services { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] public delegate void GetLatestComponentUpdateCompletedEventHandler(object sender, GetLatestComponentUpdateCompletedEventArgs e); /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetLatestComponentUpdateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { @@ -429,11 +429,11 @@ namespace WebsitePanel.Installer.Services { } /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] public delegate void GetComponentUpdateCompletedEventHandler(object sender, GetComponentUpdateCompletedEventArgs e); /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetComponentUpdateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/Reference.map b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/Reference.map index ebf6cfab..7577a619 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/Reference.map +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Web References/InstallerService/Reference.map @@ -1,7 +1,7 @@ - - + + \ No newline at end of file diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/WebsitePanel.Installer.Core.csproj b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/WebsitePanel.Installer.Core.csproj index c33c09e2..daa4234c 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/WebsitePanel.Installer.Core.csproj +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/WebsitePanel.Installer.Core.csproj @@ -95,12 +95,15 @@ - + + Designer + SettingsSingleFileGenerator Settings.Designer.cs + Designer - + MSDiscoCodeGenerator Reference.cs @@ -110,10 +113,10 @@ - + Dynamic Web References\InstallerService\ - http://www.websitepanel.net/Services/InstallerService.asmx + http://www.websitepanel.net/Services/InstallerService-2.0.asmx @@ -123,7 +126,7 @@ - +