From 13eedbfcf97e402ade06f2be29f98723ef7ff286 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 18 Oct 2018 13:42:54 -0700 Subject: Extract interfaces for Preprocess/Compile/Link/Bind/etc --- src/WixToolset.Core.WindowsInstaller/MsiBackend.cs | 5 +++++ src/WixToolset.Core.WindowsInstaller/MsmBackend.cs | 5 +++++ src/WixToolset.Core.WindowsInstaller/MspBackend.cs | 5 +++++ src/WixToolset.Core.WindowsInstaller/MstBackend.cs | 5 +++++ src/WixToolset.Core.WindowsInstaller/Unbinder.cs | 2 +- .../WindowsInstallerBackendFactory.cs | 2 +- 6 files changed, 22 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller') diff --git a/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs b/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs index c0c518f8..8b63ae9a 100644 --- a/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs +++ b/src/WixToolset.Core.WindowsInstaller/MsiBackend.cs @@ -38,6 +38,11 @@ namespace WixToolset.Core.WindowsInstaller return result; } + public BindResult Decompile(IDecompileContext context) + { + throw new NotImplementedException(); + } + public bool Inscribe(IInscribeContext context) { var command = new InscribeMsiPackageCommand(context); diff --git a/src/WixToolset.Core.WindowsInstaller/MsmBackend.cs b/src/WixToolset.Core.WindowsInstaller/MsmBackend.cs index 6c97f08d..c12e6c79 100644 --- a/src/WixToolset.Core.WindowsInstaller/MsmBackend.cs +++ b/src/WixToolset.Core.WindowsInstaller/MsmBackend.cs @@ -43,6 +43,11 @@ namespace WixToolset.Core.WindowsInstaller return result; } + public BindResult Decompile(IDecompileContext context) + { + throw new NotImplementedException(); + } + public bool Inscribe(IInscribeContext context) { return false; diff --git a/src/WixToolset.Core.WindowsInstaller/MspBackend.cs b/src/WixToolset.Core.WindowsInstaller/MspBackend.cs index a47802bb..c6a05b20 100644 --- a/src/WixToolset.Core.WindowsInstaller/MspBackend.cs +++ b/src/WixToolset.Core.WindowsInstaller/MspBackend.cs @@ -21,6 +21,11 @@ namespace WixToolset.Core.WindowsInstaller throw new NotImplementedException(); } + public BindResult Decompile(IDecompileContext context) + { + throw new NotImplementedException(); + } + public bool Inscribe(IInscribeContext context) { throw new NotImplementedException(); diff --git a/src/WixToolset.Core.WindowsInstaller/MstBackend.cs b/src/WixToolset.Core.WindowsInstaller/MstBackend.cs index fa696d55..3e105963 100644 --- a/src/WixToolset.Core.WindowsInstaller/MstBackend.cs +++ b/src/WixToolset.Core.WindowsInstaller/MstBackend.cs @@ -25,6 +25,11 @@ namespace WixToolset.Core.WindowsInstaller throw new NotImplementedException(); } + public BindResult Decompile(IDecompileContext context) + { + throw new NotImplementedException(); + } + public bool Inscribe(IInscribeContext context) { throw new NotImplementedException(); diff --git a/src/WixToolset.Core.WindowsInstaller/Unbinder.cs b/src/WixToolset.Core.WindowsInstaller/Unbinder.cs index db121fc0..e8c109d2 100644 --- a/src/WixToolset.Core.WindowsInstaller/Unbinder.cs +++ b/src/WixToolset.Core.WindowsInstaller/Unbinder.cs @@ -74,7 +74,7 @@ namespace WixToolset.Core foreach (var factory in this.BackendFactories) { - if (factory.TryCreateBackend(outputType.ToString(), file, null, out var backend)) + if (factory.TryCreateBackend(outputType.ToString(), file, out var backend)) { return backend.Unbind(context); } diff --git a/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs b/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs index 8ffa1a03..173404d7 100644 --- a/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs +++ b/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendFactory.cs @@ -9,7 +9,7 @@ namespace WixToolset.Core.WindowsInstaller internal class WindowsInstallerBackendFactory : IBackendFactory { - public bool TryCreateBackend(string outputType, string outputFile, IBindContext context, out IBackend backend) + public bool TryCreateBackend(string outputType, string outputFile, out IBackend backend) { if (String.IsNullOrEmpty(outputType)) { -- cgit v1.2.3-55-g6feb