diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-03-01 11:12:52 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@robmensching.com> | 2019-03-01 11:15:40 -0800 |
| commit | 5392cf57c09bddde7157e5b26c5c2a013f819ead (patch) | |
| tree | 96063a49293bd9eea122218e770b52d3c20812f2 /src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs | |
| parent | a4f5a5a042c00254607fbecdf132a2e2a91a1bdd (diff) | |
| download | wix-5392cf57c09bddde7157e5b26c5c2a013f819ead.tar.gz wix-5392cf57c09bddde7157e5b26c5c2a013f819ead.tar.bz2 wix-5392cf57c09bddde7157e5b26c5c2a013f819ead.zip | |
Integrate interface-only WixToolset.Extensibility change
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs index 88be831e..890c446c 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateCabinetsCommand.cs | |||
| @@ -34,7 +34,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 34 | 34 | ||
| 35 | private Dictionary<string, string> lastCabinetAddedToMediaTable; // Key is First Cabinet Name, Value is Last Cabinet Added in the Split Sequence | 35 | private Dictionary<string, string> lastCabinetAddedToMediaTable; // Key is First Cabinet Name, Value is Last Cabinet Added in the Split Sequence |
| 36 | 36 | ||
| 37 | public CreateCabinetsCommand(IBackendHelper backendHelper) | 37 | public CreateCabinetsCommand(IServiceProvider serviceProvider, IBackendHelper backendHelper) |
| 38 | { | 38 | { |
| 39 | this.fileTransfers = new List<IFileTransfer>(); | 39 | this.fileTransfers = new List<IFileTransfer>(); |
| 40 | 40 | ||
| @@ -42,9 +42,13 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 42 | 42 | ||
| 43 | this.newCabNamesCallBack = this.NewCabNamesCallBack; | 43 | this.newCabNamesCallBack = this.NewCabNamesCallBack; |
| 44 | 44 | ||
| 45 | this.ServiceProvider = serviceProvider; | ||
| 46 | |||
| 45 | this.BackendHelper = backendHelper; | 47 | this.BackendHelper = backendHelper; |
| 46 | } | 48 | } |
| 47 | 49 | ||
| 50 | public IServiceProvider ServiceProvider { get; } | ||
| 51 | |||
| 48 | public IBackendHelper BackendHelper { get; } | 52 | public IBackendHelper BackendHelper { get; } |
| 49 | 53 | ||
| 50 | /// <summary> | 54 | /// <summary> |
| @@ -221,7 +225,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 221 | } | 225 | } |
| 222 | } | 226 | } |
| 223 | 227 | ||
| 224 | var cabinetResolver = new CabinetResolver(this.CabCachePath, this.BackendExtensions); | 228 | var cabinetResolver = new CabinetResolver(this.ServiceProvider, this.CabCachePath, this.BackendExtensions); |
| 225 | 229 | ||
| 226 | var resolvedCabinet = cabinetResolver.ResolveCabinet(tempCabinetFileX, fileFacades); | 230 | var resolvedCabinet = cabinetResolver.ResolveCabinet(tempCabinetFileX, fileFacades); |
| 227 | 231 | ||
