diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Unbinder.cs')
-rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Unbinder.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Unbinder.cs b/src/WixToolset.Core.WindowsInstaller/Unbinder.cs index e8c109d2..2ca0b557 100644 --- a/src/WixToolset.Core.WindowsInstaller/Unbinder.cs +++ b/src/WixToolset.Core.WindowsInstaller/Unbinder.cs | |||
@@ -2,11 +2,11 @@ | |||
2 | 2 | ||
3 | namespace WixToolset.Core | 3 | namespace WixToolset.Core |
4 | { | 4 | { |
5 | using System.Collections; | 5 | using System.Collections.Generic; |
6 | using System.IO; | 6 | using System.IO; |
7 | using WixToolset.Data; | 7 | using WixToolset.Data; |
8 | using WixToolset.Extensibility; | 8 | using WixToolset.Extensibility; |
9 | using System.Collections.Generic; | 9 | using WixToolset.Extensibility.Services; |
10 | 10 | ||
11 | /// <summary> | 11 | /// <summary> |
12 | /// Unbinder core of the WiX toolset. | 12 | /// Unbinder core of the WiX toolset. |
@@ -21,6 +21,8 @@ namespace WixToolset.Core | |||
21 | /// <value>Set to true if the input msi is part of an admin image.</value> | 21 | /// <value>Set to true if the input msi is part of an admin image.</value> |
22 | public bool IsAdminImage { get; set; } | 22 | public bool IsAdminImage { get; set; } |
23 | 23 | ||
24 | public IWixToolsetServiceProvider ServiceProvider { get; } | ||
25 | |||
24 | /// <summary> | 26 | /// <summary> |
25 | /// Gets or sets the option to suppress demodularizing values. | 27 | /// Gets or sets the option to suppress demodularizing values. |
26 | /// </summary> | 28 | /// </summary> |
@@ -64,7 +66,7 @@ namespace WixToolset.Core | |||
64 | // if we don't have the temporary files object yet, get one | 66 | // if we don't have the temporary files object yet, get one |
65 | Directory.CreateDirectory(this.TempFilesLocation); // ensure the base path is there | 67 | Directory.CreateDirectory(this.TempFilesLocation); // ensure the base path is there |
66 | 68 | ||
67 | var context = new UnbindContext(); | 69 | var context = new UnbindContext(this.ServiceProvider); |
68 | context.InputFilePath = file; | 70 | context.InputFilePath = file; |
69 | context.ExportBasePath = exportBasePath; | 71 | context.ExportBasePath = exportBasePath; |
70 | context.IntermediateFolder = this.TempFilesLocation; | 72 | context.IntermediateFolder = this.TempFilesLocation; |