aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-10-07 11:18:13 -0700
committerRob Mensching <rob@firegiant.com>2019-10-07 11:59:14 -0700
commit860676fa5b40a1904478151e9b4934c004e7db63 (patch)
tree83fabd53f2a68dcf56bc8da66d88e115af3764b0 /src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
parent3b98dac62b47d590f3465985362d6e6fd100b1c0 (diff)
downloadwix-860676fa5b40a1904478151e9b4934c004e7db63.tar.gz
wix-860676fa5b40a1904478151e9b4934c004e7db63.tar.bz2
wix-860676fa5b40a1904478151e9b4934c004e7db63.zip
Implement Bundle build
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
index 830880ee..53451752 100644
--- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
+++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
@@ -30,6 +30,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind
30 30
31 this.BackendHelper = context.ServiceProvider.GetService<IBackendHelper>(); 31 this.BackendHelper = context.ServiceProvider.GetService<IBackendHelper>();
32 32
33 this.PathResolver = this.ServiceProvider.GetService<IPathResolver>();
34
33 this.TableDefinitions = WindowsInstallerStandardInternal.GetTableDefinitions(); 35 this.TableDefinitions = WindowsInstallerStandardInternal.GetTableDefinitions();
34 36
35 this.CabbingThreadCount = context.CabbingThreadCount; 37 this.CabbingThreadCount = context.CabbingThreadCount;
@@ -54,6 +56,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind
54 56
55 private IBackendHelper BackendHelper { get; } 57 private IBackendHelper BackendHelper { get; }
56 58
59 private IPathResolver PathResolver { get; }
60
57 private int Codepage { get; } 61 private int Codepage { get; }
58 62
59 private int CabbingThreadCount { get; } 63 private int CabbingThreadCount { get; }
@@ -241,7 +245,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind
241 245
242 // Set generated component guids. 246 // Set generated component guids.
243 { 247 {
244 var command = new CalculateComponentGuids(this.Messaging, this.BackendHelper, section); 248 var command = new CalculateComponentGuids(this.Messaging, this.BackendHelper, this.PathResolver, section);
245 command.Execute(); 249 command.Execute();
246 } 250 }
247 251
@@ -501,7 +505,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind
501 // Process uncompressed files. 505 // Process uncompressed files.
502 if (!this.Messaging.EncounteredError && !this.SuppressLayout && uncompressedFiles.Any()) 506 if (!this.Messaging.EncounteredError && !this.SuppressLayout && uncompressedFiles.Any())
503 { 507 {
504 var command = new ProcessUncompressedFilesCommand(section, this.BackendHelper); 508 var command = new ProcessUncompressedFilesCommand(section, this.BackendHelper, this.PathResolver);
505 command.Compressed = compressed; 509 command.Compressed = compressed;
506 command.FileFacades = uncompressedFiles; 510 command.FileFacades = uncompressedFiles;
507 command.LayoutDirectory = layoutDirectory; 511 command.LayoutDirectory = layoutDirectory;