@joebigelow / wix-1 / commits / 37067209

Add DefaultCompressionLevel support.

Bob Arnson committed Jan 26, 2021 at 11:35 UTC 37067209fa6defaecc877bab07262e9cf78088c5
1 file changed +2 -2
src/WixToolset.Data/ErrorMessages.cs
+2 -2
@@ -954,9 +954,9 @@ namespace WixToolset.Data
954 return Message(sourceLineNumbers, Ids.IllegalComponentWithAutoGeneratedGuid, "The Component/@Guid attribute's value '*' is not valid for this component because it does not meet the criteria for having an automatically generated guid. Components with registry keypaths and files cannot use an automatically generated guid. Create multiple components, each with one file and/or one registry value keypath, to use automatically generated guids.", registryKeyPath);
955 }
956
957 - public static Message IllegalCompressionLevel(string compressionLevel)
957 + public static Message IllegalCompressionLevel(SourceLineNumber sourceLineNumbers, string compressionLevel)
958 {
959 - return Message(null, Ids.IllegalCompressionLevel, "The compression level '{0}' is not valid. Valid values are 'none', 'low', 'medium', 'high', and 'mszip'.", compressionLevel);
959 + return Message(sourceLineNumbers, Ids.IllegalCompressionLevel, "The compression level '{0}' is not valid. Valid values are 'none', 'low', 'medium', 'high', and 'mszip'.", compressionLevel);
960 }
961
962 public static Message IllegalDefineStatement(SourceLineNumber sourceLineNumbers, string defineStatement)