@joebigelow / wix-1 / commits / 149a4220

Fix a couple of attributes mentioned in messages.

Bob Arnson committed Feb 20, 2023 at 18:40 UTC 149a4220e8246c037c9c26a4bca817fd5d6968df
1 file changed +3 -3
src/api/wix/WixToolset.Data/ErrorMessages.cs
+3 -3
@@ -1683,7 +1683,7 @@ namespace WixToolset.Data
1683
1684 public static Message PerUserButAllUsersEquals1(SourceLineNumber sourceLineNumbers, string path)
1685 {
1686 - return Message(sourceLineNumbers, Ids.PerUserButAllUsersEquals1, "The MSI '{0}' is explicitly marked to not elevate so it must be a per-user package but the ALLUSERS Property is set to '1' creating a per-machine package. Remove the Property with Id='ALLUSERS' and use Package/@InstallScope attribute to be explicit instead.", path);
1686 + return Message(sourceLineNumbers, Ids.PerUserButAllUsersEquals1, "The MSI '{0}' is explicitly marked to not elevate so it must be a per-user package but the ALLUSERS Property is set to '1' creating a per-machine package. Remove the Property with Id='ALLUSERS' and use Package/@Scope attribute to be explicit instead.", path);
1687 }
1688
1689 public static Message PreprocessorError(SourceLineNumber sourceLineNumbers, string message)
@@ -1723,7 +1723,7 @@ namespace WixToolset.Data
1723
1724 public static Message ProductCodeInvalidForTransform(SourceLineNumber sourceLineNumbers)
1725 {
1726 - return Message(sourceLineNumbers, Ids.ProductCodeInvalidForTransform, "The value '*' is not valid for the ProductCode when used in a transform or in a patch. Copy the ProductCode from your target product MSI into the Package/@Id attribute value for your product authoring.");
1726 + return Message(sourceLineNumbers, Ids.ProductCodeInvalidForTransform, "The value '*' is not valid for the ProductCode when used in a transform or in a patch. Copy the ProductCode from your target product MSI into the Package/@ProductCode attribute value for your product authoring.");
1727 }
1728
1729 public static Message ProgIdNestedTooDeep(SourceLineNumber sourceLineNumbers)
@@ -2148,7 +2148,7 @@ namespace WixToolset.Data
2148
2149 public static Message UnsupportedAllUsersValue(SourceLineNumber sourceLineNumbers, string path, string value)
2150 {
2151 - return Message(sourceLineNumbers, Ids.UnsupportedAllUsersValue, "The MSI '{0}' set the ALLUSERS Property to '{0}' which is not supported. Remove the Property with Id='ALLUSERS' and use Package/@InstallScope attribute instead.", path, value);
2151 + return Message(sourceLineNumbers, Ids.UnsupportedAllUsersValue, "The MSI '{0}' set the ALLUSERS Property to '{0}' which is not supported. Remove the Property with Id='ALLUSERS' and use Package/@Scope attribute instead.", path, value);
2152 }
2153
2154 public static Message UnsupportedExtensionAttribute(SourceLineNumber sourceLineNumbers, string elementName, string extensionElementName)