aboutsummaryrefslogtreecommitdiff
path: root/src/wix/WixToolset.Core.WindowsInstaller/MstBackend.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wix/WixToolset.Core.WindowsInstaller/MstBackend.cs')
-rw-r--r--src/wix/WixToolset.Core.WindowsInstaller/MstBackend.cs44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/wix/WixToolset.Core.WindowsInstaller/MstBackend.cs b/src/wix/WixToolset.Core.WindowsInstaller/MstBackend.cs
new file mode 100644
index 00000000..a6d86c10
--- /dev/null
+++ b/src/wix/WixToolset.Core.WindowsInstaller/MstBackend.cs
@@ -0,0 +1,44 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Core.WindowsInstaller
4{
5 using System;
6 using WixToolset.Core.WindowsInstaller.Unbind;
7 using WixToolset.Data;
8 using WixToolset.Extensibility;
9 using WixToolset.Extensibility.Data;
10
11 internal class MstBackend : IBackend
12 {
13 public IBindResult Bind(IBindContext context)
14 {
15#if TODO_PATCHING
16 var command = new BindTransformCommand();
17 command.Extensions = context.Extensions;
18 command.TempFilesLocation = context.IntermediateFolder;
19 command.Transform = context.IntermediateRepresentation;
20 command.OutputPath = context.OutputPath;
21 command.Execute();
22
23 return new BindResult(Array.Empty<FileTransfer>(), Array.Empty<string>());
24#endif
25 throw new NotImplementedException();
26 }
27
28 public IDecompileResult Decompile(IDecompileContext context)
29 {
30 throw new NotImplementedException();
31 }
32
33 public bool Inscribe(IInscribeContext context)
34 {
35 throw new NotImplementedException();
36 }
37
38 public Intermediate Unbind(IUnbindContext context)
39 {
40 var command = new UnbindMsiOrMsmCommand(context);
41 return command.Execute();
42 }
43 }
44} \ No newline at end of file