diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 8 |
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; |
