diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Loader.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Loader.cs index 54ef5d79..116383f0 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Loader.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Installer.Core/Loader.cs @@ -55,7 +55,7 @@ namespace WebsitePanel.Installer.Core public static class LoaderFactory { /// - /// Instantiates either BitlyLoader or InstallerServiceLoader based on remote file format. + /// Instantiates either CodeplexLoader or InstallerServiceLoader based on remote file format. /// /// /// @@ -63,9 +63,9 @@ namespace WebsitePanel.Installer.Core { Debug.Assert(!String.IsNullOrEmpty(remoteFile), "Remote file is empty"); - if (remoteFile.StartsWith("http://bit.ly/")) + if (remoteFile.StartsWith("http://websitepanel.codeplex.com/")) { - return new BitlyLoader(remoteFile); + return new CodeplexLoader(remoteFile); } else { @@ -74,13 +74,13 @@ namespace WebsitePanel.Installer.Core } } - public class BitlyLoader : Loader + public class CodeplexLoader : Loader { public const string WEB_PI_USER_AGENT_HEADER = "PI-Integrator/3.0.0.0({0})"; private WebClient fileLoader; - internal BitlyLoader(string remoteFile) + internal CodeplexLoader(string remoteFile) : base(remoteFile) { InitFileLoader(); diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Installer/Updater.exe b/WebsitePanel.Installer/Sources/WebsitePanel.Installer/Updater.exe index 5027b10e..9c718238 100644 Binary files a/WebsitePanel.Installer/Sources/WebsitePanel.Installer/Updater.exe and b/WebsitePanel.Installer/Sources/WebsitePanel.Installer/Updater.exe differ