aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-04-25 15:38:03 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-04-25 22:59:27 -0500
commite51932ea0bac331b128dba9809f00c7d393c7a9b (patch)
tree22895e46bb0d8a28935eee3532a796f844ee28db /src
parentd7af012f12bb22fa3e862d536c6906ad67316abc (diff)
downloadwix-e51932ea0bac331b128dba9809f00c7d393c7a9b.tar.gz
wix-e51932ea0bac331b128dba9809f00c7d393c7a9b.tar.bz2
wix-e51932ea0bac331b128dba9809f00c7d393c7a9b.zip
Enable better bundle validation.
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.Data/Burn/BurnConstants.cs2
-rw-r--r--src/WixToolset.Data/ComplexReferenceChildType.cs3
-rw-r--r--src/WixToolset.Data/WarningMessages.cs6
3 files changed, 8 insertions, 3 deletions
diff --git a/src/WixToolset.Data/Burn/BurnConstants.cs b/src/WixToolset.Data/Burn/BurnConstants.cs
index 65bfb4df..484b144d 100644
--- a/src/WixToolset.Data/Burn/BurnConstants.cs
+++ b/src/WixToolset.Data/Burn/BurnConstants.cs
@@ -6,6 +6,8 @@ namespace WixToolset.Data.Burn
6 { 6 {
7 public const string BurnUXContainerName = "WixUXContainer"; 7 public const string BurnUXContainerName = "WixUXContainer";
8 public const string BurnDefaultAttachedContainerName = "WixAttachedContainer"; 8 public const string BurnDefaultAttachedContainerName = "WixAttachedContainer";
9 public const string BundleChainPackageGroupId = "WixChain";
10 public const string BundleDefaultBoundaryId = "WixDefaultBoundary";
9 public const string BundleLayoutOnlyPayloadsName = "BundleLayoutOnlyPayloads"; 11 public const string BundleLayoutOnlyPayloadsName = "BundleLayoutOnlyPayloads";
10 12
11 public const string BurnManifestWixOutputStreamName = "wix-burndata.xml"; 13 public const string BurnManifestWixOutputStreamName = "wix-burndata.xml";
diff --git a/src/WixToolset.Data/ComplexReferenceChildType.cs b/src/WixToolset.Data/ComplexReferenceChildType.cs
index 62e233b6..a5d4e7ac 100644
--- a/src/WixToolset.Data/ComplexReferenceChildType.cs
+++ b/src/WixToolset.Data/ComplexReferenceChildType.cs
@@ -45,5 +45,8 @@ namespace WixToolset.Data
45 45
46 /// <summary>PatchFamilyGroup child of complex reference.</summary> 46 /// <summary>PatchFamilyGroup child of complex reference.</summary>
47 PatchFamilyGroup, 47 PatchFamilyGroup,
48
49 /// <summary>ContainerPackage child of complex reference.</summary>
50 ContainerPackage,
48 } 51 }
49} 52}
diff --git a/src/WixToolset.Data/WarningMessages.cs b/src/WixToolset.Data/WarningMessages.cs
index cf8fdfd9..78ed87af 100644
--- a/src/WixToolset.Data/WarningMessages.cs
+++ b/src/WixToolset.Data/WarningMessages.cs
@@ -237,9 +237,9 @@ namespace WixToolset.Data
237 return Message(sourceLineNumbers, Ids.DownloadUrlNotSupportedForAttachedContainers, "The Container '{0}' is attached but included a @DownloadUrl attribute. Attached Containers cannot be downloaded so the download URL is being ignored.", containerId); 237 return Message(sourceLineNumbers, Ids.DownloadUrlNotSupportedForAttachedContainers, "The Container '{0}' is attached but included a @DownloadUrl attribute. Attached Containers cannot be downloaded so the download URL is being ignored.", containerId);
238 } 238 }
239 239
240 public static Message DownloadUrlNotSupportedForEmbeddedPayloads(SourceLineNumber sourceLineNumbers, string payloadId) 240 public static Message DownloadUrlNotSupportedForBAPayloads(SourceLineNumber sourceLineNumbers, string payloadId)
241 { 241 {
242 return Message(sourceLineNumbers, Ids.DownloadUrlNotSupportedForEmbeddedPayloads, "The Payload '{0}' is embedded but included a @DownloadUrl attribute. Embedded Payloads cannot be downloaded so the download URL is being ignored.", payloadId); 242 return Message(sourceLineNumbers, Ids.DownloadUrlNotSupportedForBAPayloads, "The BootstrapperApplication Payload '{0}' included a @DownloadUrl attribute. BootstrapperApplication Payloads cannot be downloaded so the download URL is being ignored.", payloadId);
243 } 243 }
244 244
245 public static Message DuplicateComponentGuidsMustHaveMutuallyExclusiveConditions(SourceLineNumber sourceLineNumbers, string componentId, string guid, string type, string keyPath) 245 public static Message DuplicateComponentGuidsMustHaveMutuallyExclusiveConditions(SourceLineNumber sourceLineNumbers, string componentId, string guid, string type, string keyPath)
@@ -785,7 +785,7 @@ namespace WixToolset.Data
785 DiscardedRollbackBoundary = 1129, 785 DiscardedRollbackBoundary = 1129,
786 DeprecatedElement = 1130, 786 DeprecatedElement = 1130,
787 CannotUpdateCabCache = 1131, 787 CannotUpdateCabCache = 1131,
788 DownloadUrlNotSupportedForEmbeddedPayloads = 1132, 788 DownloadUrlNotSupportedForBAPayloads = 1132,
789 DiscouragedAllUsersValue = 1133, 789 DiscouragedAllUsersValue = 1133,
790 ImplicitlyPerUser = 1134, 790 ImplicitlyPerUser = 1134,
791 PerUserButForcingPerMachine = 1135, 791 PerUserButForcingPerMachine = 1135,