diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs b/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs index 83cc0a67..b88251af 100644 --- a/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs +++ b/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs | |||
@@ -143,27 +143,6 @@ namespace WixToolset.Core.Burn | |||
143 | var payloadSymbols = section.Symbols.OfType<WixBundlePayloadSymbol>().ToDictionary(t => t.Id.Id); | 143 | var payloadSymbols = section.Symbols.OfType<WixBundlePayloadSymbol>().ToDictionary(t => t.Id.Id); |
144 | var packagesPayloads = RecalculatePackagesPayloads(payloadSymbols, wixGroupSymbols); | 144 | var packagesPayloads = RecalculatePackagesPayloads(payloadSymbols, wixGroupSymbols); |
145 | 145 | ||
146 | // Update explicitly authored payloads with their parent container | ||
147 | // to make it easier to gather the payloads later. | ||
148 | foreach (var groupSymbol in wixGroupSymbols) | ||
149 | { | ||
150 | if (ComplexReferenceChildType.Payload == groupSymbol.ChildType) | ||
151 | { | ||
152 | var payloadSymbol = payloadSymbols[groupSymbol.ChildId]; | ||
153 | |||
154 | if (ComplexReferenceParentType.Container == groupSymbol.ParentType) | ||
155 | { | ||
156 | // TODO: v3 didn't warn if we overwrote the payload's container. | ||
157 | // Should we warn now? | ||
158 | payloadSymbol.ContainerRef = groupSymbol.ParentId; | ||
159 | } | ||
160 | else if (ComplexReferenceParentType.Layout == groupSymbol.ParentType) | ||
161 | { | ||
162 | payloadSymbol.LayoutOnly = true; | ||
163 | } | ||
164 | } | ||
165 | } | ||
166 | |||
167 | var layoutDirectory = Path.GetDirectoryName(this.OutputPath); | 146 | var layoutDirectory = Path.GetDirectoryName(this.OutputPath); |
168 | 147 | ||
169 | // Process the explicitly authored payloads. | 148 | // Process the explicitly authored payloads. |