diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs index b3f81212..6c2968ec 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |||
| @@ -428,7 +428,9 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 428 | { | 428 | { |
| 429 | this.Messaging.Write(VerboseMessages.CreatingCabinetFiles()); | 429 | this.Messaging.Write(VerboseMessages.CreatingCabinetFiles()); |
| 430 | 430 | ||
| 431 | var command = new CreateCabinetsCommand(this.ServiceProvider, this.BackendHelper); | 431 | var mediaTemplate = section.Tuples.OfType<WixMediaTemplateTuple>().FirstOrDefault(); |
| 432 | |||
| 433 | var command = new CreateCabinetsCommand(this.ServiceProvider, this.BackendHelper, mediaTemplate); | ||
| 432 | command.CabbingThreadCount = this.CabbingThreadCount; | 434 | command.CabbingThreadCount = this.CabbingThreadCount; |
| 433 | command.CabCachePath = this.CabCachePath; | 435 | command.CabCachePath = this.CabCachePath; |
| 434 | command.DefaultCompressionLevel = this.DefaultCompressionLevel; | 436 | command.DefaultCompressionLevel = this.DefaultCompressionLevel; |
| @@ -438,7 +440,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 438 | command.LayoutDirectory = layoutDirectory; | 440 | command.LayoutDirectory = layoutDirectory; |
| 439 | command.Compressed = compressed; | 441 | command.Compressed = compressed; |
| 440 | command.ModularizationSuffix = modularizationSuffix; | 442 | command.ModularizationSuffix = modularizationSuffix; |
| 441 | command.FileRowsByCabinet = filesByCabinetMedia; | 443 | command.FileFacadesByCabinet = filesByCabinetMedia; |
| 442 | command.ResolveMedia = this.ResolveMedia; | 444 | command.ResolveMedia = this.ResolveMedia; |
| 443 | command.TableDefinitions = tableDefinitions; | 445 | command.TableDefinitions = tableDefinitions; |
| 444 | command.IntermediateFolder = this.IntermediateFolder; | 446 | command.IntermediateFolder = this.IntermediateFolder; |
