aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2020-06-12 12:55:28 -0700
committerRob Mensching <rob@firegiant.com>2020-06-13 09:22:27 -0700
commitc0f1332a0e18e9d506fe80c328548b001dcf93df (patch)
tree4980dddd35350e79b00a61574feafa859e857e3f /src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
parent167d26d002b1412e72d96ed2bbc0761fc0f1344b (diff)
downloadwix-c0f1332a0e18e9d506fe80c328548b001dcf93df.tar.gz
wix-c0f1332a0e18e9d506fe80c328548b001dcf93df.tar.bz2
wix-c0f1332a0e18e9d506fe80c328548b001dcf93df.zip
Remove use of remaining WixXxxRows
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs6
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;