diff options
| author | Rob Mensching <rob@firegiant.com> | 2018-10-18 13:42:54 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@robmensching.com> | 2018-10-24 21:17:34 -0700 |
| commit | 13eedbfcf97e402ade06f2be29f98723ef7ff286 (patch) | |
| tree | 50155e7f0e9ee253b709a95b488b1a427fa0e013 /src/WixToolset.Core.WindowsInstaller | |
| parent | d98126dc766b9b063d2d26ced62553d4a5a218b5 (diff) | |
| download | wix-13eedbfcf97e402ade06f2be29f98723ef7ff286.tar.gz wix-13eedbfcf97e402ade06f2be29f98723ef7ff286.tar.bz2 wix-13eedbfcf97e402ade06f2be29f98723ef7ff286.zip | |
Extract interfaces for Preprocess/Compile/Link/Bind/etc
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller')
6 files changed, 22 insertions, 2 deletions
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 | |||
| 38 | return result; | 38 | return result; |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | public BindResult Decompile(IDecompileContext context) | ||
| 42 | { | ||
| 43 | throw new NotImplementedException(); | ||
| 44 | } | ||
| 45 | |||
| 41 | public bool Inscribe(IInscribeContext context) | 46 | public bool Inscribe(IInscribeContext context) |
| 42 | { | 47 | { |
| 43 | var command = new InscribeMsiPackageCommand(context); | 48 | 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 | |||
| 43 | return result; | 43 | return result; |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public BindResult Decompile(IDecompileContext context) | ||
| 47 | { | ||
| 48 | throw new NotImplementedException(); | ||
| 49 | } | ||
| 50 | |||
| 46 | public bool Inscribe(IInscribeContext context) | 51 | public bool Inscribe(IInscribeContext context) |
| 47 | { | 52 | { |
| 48 | return false; | 53 | 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 | |||
| 21 | throw new NotImplementedException(); | 21 | throw new NotImplementedException(); |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public BindResult Decompile(IDecompileContext context) | ||
| 25 | { | ||
| 26 | throw new NotImplementedException(); | ||
| 27 | } | ||
| 28 | |||
| 24 | public bool Inscribe(IInscribeContext context) | 29 | public bool Inscribe(IInscribeContext context) |
| 25 | { | 30 | { |
| 26 | throw new NotImplementedException(); | 31 | 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 | |||
| 25 | throw new NotImplementedException(); | 25 | throw new NotImplementedException(); |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public BindResult Decompile(IDecompileContext context) | ||
| 29 | { | ||
| 30 | throw new NotImplementedException(); | ||
| 31 | } | ||
| 32 | |||
| 28 | public bool Inscribe(IInscribeContext context) | 33 | public bool Inscribe(IInscribeContext context) |
| 29 | { | 34 | { |
| 30 | throw new NotImplementedException(); | 35 | 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 | |||
| 74 | 74 | ||
| 75 | foreach (var factory in this.BackendFactories) | 75 | foreach (var factory in this.BackendFactories) |
| 76 | { | 76 | { |
| 77 | if (factory.TryCreateBackend(outputType.ToString(), file, null, out var backend)) | 77 | if (factory.TryCreateBackend(outputType.ToString(), file, out var backend)) |
| 78 | { | 78 | { |
| 79 | return backend.Unbind(context); | 79 | return backend.Unbind(context); |
| 80 | } | 80 | } |
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 | |||
| 9 | 9 | ||
| 10 | internal class WindowsInstallerBackendFactory : IBackendFactory | 10 | internal class WindowsInstallerBackendFactory : IBackendFactory |
| 11 | { | 11 | { |
| 12 | public bool TryCreateBackend(string outputType, string outputFile, IBindContext context, out IBackend backend) | 12 | public bool TryCreateBackend(string outputType, string outputFile, out IBackend backend) |
| 13 | { | 13 | { |
| 14 | if (String.IsNullOrEmpty(outputType)) | 14 | if (String.IsNullOrEmpty(outputType)) |
| 15 | { | 15 | { |
