aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs')
-rw-r--r--src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs b/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs
index 540c6288..943625ec 100644
--- a/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs
+++ b/src/WixToolset.Core.Burn/Bind/BindBundleCommand.cs
@@ -30,6 +30,7 @@ namespace WixToolset.Core.Burn
30 this.Messaging = context.ServiceProvider.GetService<IMessaging>(); 30 this.Messaging = context.ServiceProvider.GetService<IMessaging>();
31 31
32 this.BackendHelper = context.ServiceProvider.GetService<IBackendHelper>(); 32 this.BackendHelper = context.ServiceProvider.GetService<IBackendHelper>();
33 this.InternalBurnBackendHelper = context.ServiceProvider.GetService<IInternalBurnBackendHelper>();
33 34
34 this.DefaultCompressionLevel = context.DefaultCompressionLevel; 35 this.DefaultCompressionLevel = context.DefaultCompressionLevel;
35 this.DelayedFields = context.DelayedFields; 36 this.DelayedFields = context.DelayedFields;
@@ -49,6 +50,8 @@ namespace WixToolset.Core.Burn
49 50
50 private IBackendHelper BackendHelper { get; } 51 private IBackendHelper BackendHelper { get; }
51 52
53 private IInternalBurnBackendHelper InternalBurnBackendHelper { get; }
54
52 private CompressionLevel? DefaultCompressionLevel { get; } 55 private CompressionLevel? DefaultCompressionLevel { get; }
53 56
54 public IEnumerable<IDelayedField> DelayedFields { get; } 57 public IEnumerable<IDelayedField> DelayedFields { get; }
@@ -386,6 +389,12 @@ namespace WixToolset.Core.Burn
386 // Update the bundle per-machine/per-user scope based on the chained packages. 389 // Update the bundle per-machine/per-user scope based on the chained packages.
387 this.ResolveBundleInstallScope(section, bundleTuple, orderedFacades); 390 this.ResolveBundleInstallScope(section, bundleTuple, orderedFacades);
388 391
392 // Generate data for all manifests.
393 {
394 var command = new GenerateManifestDataFromIRCommand(this.Messaging, section, this.BackendExtensions, this.InternalBurnBackendHelper, extensionSearchTuplesById);
395 command.Execute();
396 }
397
389 // Give the extension one last hook before generating the output files. 398 // Give the extension one last hook before generating the output files.
390 foreach (var extension in this.BackendExtensions) 399 foreach (var extension in this.BackendExtensions)
391 { 400 {
@@ -400,7 +409,7 @@ namespace WixToolset.Core.Burn
400 // Generate the core-defined BA manifest tables... 409 // Generate the core-defined BA manifest tables...
401 string baManifestPath; 410 string baManifestPath;
402 { 411 {
403 var command = new CreateBootstrapperApplicationManifestCommand(section, bundleTuple, orderedFacades, uxPayloadIndex, payloadTuples, this.IntermediateFolder); 412 var command = new CreateBootstrapperApplicationManifestCommand(section, bundleTuple, orderedFacades, uxPayloadIndex, payloadTuples, this.IntermediateFolder, this.InternalBurnBackendHelper);
404 command.Execute(); 413 command.Execute();
405 414
406 var baManifestPayload = command.BootstrapperApplicationManifestPayloadRow; 415 var baManifestPayload = command.BootstrapperApplicationManifestPayloadRow;
@@ -414,7 +423,7 @@ namespace WixToolset.Core.Burn
414 // Generate the bundle extension manifest... 423 // Generate the bundle extension manifest...
415 string bextManifestPath; 424 string bextManifestPath;
416 { 425 {
417 var command = new CreateBundleExtensionManifestCommand(section, bundleTuple, extensionSearchTuplesById, uxPayloadIndex, this.IntermediateFolder); 426 var command = new CreateBundleExtensionManifestCommand(section, bundleTuple, uxPayloadIndex, this.IntermediateFolder, this.InternalBurnBackendHelper);
418 command.Execute(); 427 command.Execute();
419 428
420 var bextManifestPayload = command.BundleExtensionManifestPayloadRow; 429 var bextManifestPayload = command.BundleExtensionManifestPayloadRow;