diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/MsiBackend.cs')
-rw-r--r-- | src/WixToolset.Core.WindowsInstaller/MsiBackend.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs b/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs index b633ea31..f105473b 100644 --- a/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs +++ b/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs | |||
@@ -13,7 +13,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
13 | 13 | ||
14 | internal class MsiBackend : IBackend | 14 | internal class MsiBackend : IBackend |
15 | { | 15 | { |
16 | public BindResult Bind(IBindContext context) | 16 | public IBindResult Bind(IBindContext context) |
17 | { | 17 | { |
18 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); | 18 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); |
19 | 19 | ||
@@ -29,7 +29,9 @@ namespace WixToolset.Core.WindowsInstaller | |||
29 | var command = new BindDatabaseCommand(context, backendExtensions, validator); | 29 | var command = new BindDatabaseCommand(context, backendExtensions, validator); |
30 | command.Execute(); | 30 | command.Execute(); |
31 | 31 | ||
32 | var result = new BindResult { FileTransfers = command.FileTransfers, TrackedFiles = command.TrackedFiles }; | 32 | var result = context.ServiceProvider.GetService<IBindResult>(); |
33 | result.FileTransfers = command.FileTransfers; | ||
34 | result.TrackedFiles = command.TrackedFiles; | ||
33 | 35 | ||
34 | foreach (var extension in backendExtensions) | 36 | foreach (var extension in backendExtensions) |
35 | { | 37 | { |
@@ -38,7 +40,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
38 | return result; | 40 | return result; |
39 | } | 41 | } |
40 | 42 | ||
41 | public DecompileResult Decompile(IDecompileContext context) | 43 | public IDecompileResult Decompile(IDecompileContext context) |
42 | { | 44 | { |
43 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); | 45 | var extensionManager = context.ServiceProvider.GetService<IExtensionManager>(); |
44 | 46 | ||