diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:59:45 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:59:45 -0700 |
| commit | 2bb37beda887d120a0ddabf874ad25357101faa1 (patch) | |
| tree | c35e97b03274b86cfc9ff7fd2caeee211165a140 /src/WixToolset.Core.WindowsInstaller/MspBackend.cs | |
| parent | df7413aeed3aea3425dff20ae0c8b1be3a3ab525 (diff) | |
| download | wix-2bb37beda887d120a0ddabf874ad25357101faa1.tar.gz wix-2bb37beda887d120a0ddabf874ad25357101faa1.tar.bz2 wix-2bb37beda887d120a0ddabf874ad25357101faa1.zip | |
Update to WiX Intermediate Representation
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/MspBackend.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/MspBackend.cs | 7 |
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 |
