aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/MspBackend.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/MspBackend.cs')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/MspBackend.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/MspBackend.cs b/src/WixToolset.Core.WindowsInstaller/MspBackend.cs
index ea16a570..8fb63665 100644
--- a/src/WixToolset.Core.WindowsInstaller/MspBackend.cs
+++ b/src/WixToolset.Core.WindowsInstaller/MspBackend.cs
@@ -26,8 +26,9 @@ namespace WixToolset.Core.WindowsInstaller
26 throw new NotImplementedException(); 26 throw new NotImplementedException();
27 } 27 }
28 28
29 public Output Unbind(IUnbindContext context) 29 public Intermediate Unbind(IUnbindContext context)
30 { 30 {
31#if REVISIT_FOR_PATCHING
31 Output patch; 32 Output patch;
32 33
33 // patch files are essentially database files (use a special flag to let the API know its a patch file) 34 // patch files are essentially database files (use a special flag to let the API know its a patch file)
@@ -65,7 +66,7 @@ namespace WixToolset.Core.WindowsInstaller
65 string transformFile = Path.Combine(context.IntermediateFolder, String.Concat("Transform", Path.DirectorySeparatorChar, subStorageName, ".mst")); 66 string transformFile = Path.Combine(context.IntermediateFolder, String.Concat("Transform", Path.DirectorySeparatorChar, subStorageName, ".mst"));
66 67
67 // ensure the parent directory exists 68 // ensure the parent directory exists
68 System.IO.Directory.CreateDirectory(Path.GetDirectoryName(transformFile)); 69 Directory.CreateDirectory(Path.GetDirectoryName(transformFile));
69 70
70 // copy the substorage to a new storage for the transform file 71 // copy the substorage to a new storage for the transform file
71 using (Storage subStorage = storage.OpenStorage(subStorageName)) 72 using (Storage subStorage = storage.OpenStorage(subStorageName))
@@ -107,6 +108,8 @@ namespace WixToolset.Core.WindowsInstaller
107 } 108 }
108 109
109 return patch; 110 return patch;
111#endif
112 throw new NotImplementedException();
110 } 113 }
111 } 114 }
112} \ No newline at end of file 115} \ No newline at end of file