From 421c4801e2df8e347eed5eb51c5779aea2a1c9be Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 8 May 2020 22:04:46 +1000 Subject: Remove heat messages --- src/wixext/IisErrors.cs | 18 ------------------ src/wixext/IisWarnings.cs | 30 ------------------------------ 2 files changed, 48 deletions(-) delete mode 100644 src/wixext/IisWarnings.cs (limited to 'src/wixext') diff --git a/src/wixext/IisErrors.cs b/src/wixext/IisErrors.cs index e38d7807..2f226217 100644 --- a/src/wixext/IisErrors.cs +++ b/src/wixext/IisErrors.cs @@ -7,11 +7,6 @@ namespace WixToolset.Data public static class IIsErrors { - public static Message CannotHarvestWebSite() - { - return Message(null, Ids.CannotHarvestWebSite, "Cannot harvest website. On Windows Vista, you must install IIS 6 Management Compatibility."); - } - public static Message DeprecatedBinaryChildElement(SourceLineNumber sourceLineNumbers, string elementName) { return Message(sourceLineNumbers, Ids.DeprecatedBinaryChildElement, "The {0} element contains a deprecated child Binary element. Please move the Binary element under a Fragment, Module, or Product element and set the {0}/@BinaryKey attribute to the value of the Binary/@Id attribute.", elementName); @@ -32,11 +27,6 @@ namespace WixToolset.Data return Message(sourceLineNumbers, Ids.IllegalElementWithoutComponent, "The {0} element cannot be specified unless the element has a Component as an ancestor. A {0} that does not have a Component ancestor is not installed.", elementName); } - public static Message InsufficientPermissionHarvestWebSite() - { - return Message(null, Ids.InsufficientPermissionHarvestWebSite, "Not enough permissions to harvest website. On Windows Vista, you must run Heat elevated."); - } - public static Message MimeMapExtensionMissingPeriod(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue) { return Message(sourceLineNumbers, Ids.MimeMapExtensionMissingPeriod, "The {0}/@{1} attribute's value, '{2}', is not a valid mime map extension. It must begin with a period.", elementName, attributeName, attributeValue); @@ -62,11 +52,6 @@ namespace WixToolset.Data return Message(sourceLineNumbers, Ids.WebSiteAttributeUnderWebSite, "The {0}/@WebSite attribute cannot be specified when the {0} element is nested under a WebSite element.", elementName); } - public static Message WebSiteNotFound(string webSiteDescription) - { - return Message(null, Ids.WebSiteNotFound, "The web site '{0}' could not be found. Please check that the web site exists, and that it is spelled correctly (please note, you must use the correct case).", webSiteDescription); - } - private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) { return new Message(sourceLineNumber, MessageLevel.Error, (int)id, format, args); @@ -87,9 +72,6 @@ namespace WixToolset.Data WebApplicationAlreadySpecified = 5155, IllegalCharacterInAttributeValue = 5156, DeprecatedBinaryChildElement = 5157, - WebSiteNotFound = 5158, - InsufficientPermissionHarvestWebSite = 5159, - CannotHarvestWebSite = 5160, RequiredAttributeUnderComponent = 5161, } } diff --git a/src/wixext/IisWarnings.cs b/src/wixext/IisWarnings.cs deleted file mode 100644 index 0b833f68..00000000 --- a/src/wixext/IisWarnings.cs +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. - -namespace WixToolset.Data -{ - using System; - using System.Resources; - - public static class IIsWarnings - { - public static Message EncounteredNullDirectoryForWebSite(string directory) - { - return Message(null, Ids.EncounteredNullDirectoryForWebSite, "Could not harvest website directory: {0}. Please update the output with the appropriate directory ID before using.", directory); - } - - private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args) - { - return new Message(sourceLineNumber, MessageLevel.Warning, (int)id, format, args); - } - - private static Message Message(SourceLineNumber sourceLineNumber, Ids id, ResourceManager resourceManager, string resourceName, params object[] args) - { - return new Message(sourceLineNumber, MessageLevel.Warning, (int)id, resourceManager, resourceName, args); - } - - public enum Ids - { - EncounteredNullDirectoryForWebSite = 5400, - } - } -} -- cgit v1.2.3-55-g6feb