diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/PackageInfo.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/PackageInfo.cs | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs b/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs index 3681a497..39fe4d73 100644 --- a/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs +++ b/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs | |||
@@ -56,6 +56,11 @@ namespace WixToolset.Mba.Core | |||
56 | /// | 56 | /// |
57 | /// </summary> | 57 | /// </summary> |
58 | UpdateBundle, | 58 | UpdateBundle, |
59 | |||
60 | /// <summary> | ||
61 | /// | ||
62 | /// </summary> | ||
63 | ChainBundle, | ||
59 | } | 64 | } |
60 | 65 | ||
61 | /// <summary> | 66 | /// <summary> |
@@ -220,7 +225,11 @@ namespace WixToolset.Mba.Core | |||
220 | return null; | 225 | return null; |
221 | } | 226 | } |
222 | 227 | ||
223 | if (attributeValue.Equals("Exe", StringComparison.InvariantCulture)) | 228 | if (attributeValue.Equals("Bundle", StringComparison.InvariantCulture)) |
229 | { | ||
230 | return PackageType.ChainBundle; | ||
231 | } | ||
232 | else if (attributeValue.Equals("Exe", StringComparison.InvariantCulture)) | ||
224 | { | 233 | { |
225 | return PackageType.Exe; | 234 | return PackageType.Exe; |
226 | } | 235 | } |
@@ -268,7 +277,7 @@ namespace WixToolset.Mba.Core | |||
268 | package.Type = PackageType.UpgradeBundle; | 277 | package.Type = PackageType.UpgradeBundle; |
269 | break; | 278 | break; |
270 | default: | 279 | default: |
271 | throw new Exception(string.Format("Unknown related bundle type: {0}", relationType)); | 280 | throw new Exception(String.Format("Unknown related bundle type: {0}", relationType)); |
272 | } | 281 | } |
273 | 282 | ||
274 | return package; | 283 | return package; |
@@ -302,7 +311,7 @@ namespace WixToolset.Mba.Core | |||
302 | 311 | ||
303 | if (!packagesById.TryGetValue(id, out var ipackage)) | 312 | if (!packagesById.TryGetValue(id, out var ipackage)) |
304 | { | 313 | { |
305 | throw new Exception(string.Format("Failed to find package specified in WixBalPackageInfo: {0}", id)); | 314 | throw new Exception(String.Format("Failed to find package specified in WixBalPackageInfo: {0}", id)); |
306 | } | 315 | } |
307 | 316 | ||
308 | var package = (PackageInfo)ipackage; | 317 | var package = (PackageInfo)ipackage; |
@@ -322,7 +331,7 @@ namespace WixToolset.Mba.Core | |||
322 | 331 | ||
323 | if (!packagesById.TryGetValue(id, out var ipackage)) | 332 | if (!packagesById.TryGetValue(id, out var ipackage)) |
324 | { | 333 | { |
325 | throw new Exception(string.Format("Failed to find package specified in WixMbaPrereqInformation: {0}", id)); | 334 | throw new Exception(String.Format("Failed to find package specified in WixMbaPrereqInformation: {0}", id)); |
326 | } | 335 | } |
327 | 336 | ||
328 | var package = (PackageInfo)ipackage; | 337 | var package = (PackageInfo)ipackage; |