diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-10-14 16:12:07 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-10-14 16:12:07 -0700 |
| commit | dbde9e7104b907bbbaea17e21247d8cafc8b3a4c (patch) | |
| tree | 0f5fbbb6fe12c6b2e5e622a0e18ce4c5b4eb2b96 /src/WixToolset.Core.WindowsInstaller/Bind/ExtractMergeModuleFilesCommand.cs | |
| parent | fbf986eb97f68396797a89fc7d40dec07b775440 (diff) | |
| download | wix-dbde9e7104b907bbbaea17e21247d8cafc8b3a4c.tar.gz wix-dbde9e7104b907bbbaea17e21247d8cafc8b3a4c.tar.bz2 wix-dbde9e7104b907bbbaea17e21247d8cafc8b3a4c.zip | |
Massive refactoring to introduce the concept of IBackend
Diffstat (limited to '')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/ExtractMergeModuleFilesCommand.cs (renamed from src/WixToolset.Core/Bind/Databases/ExtractMergeModuleFilesCommand.cs) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/WixToolset.Core/Bind/Databases/ExtractMergeModuleFilesCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/ExtractMergeModuleFilesCommand.cs index bee1488b..ae76037d 100644 --- a/src/WixToolset.Core/Bind/Databases/ExtractMergeModuleFilesCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/ExtractMergeModuleFilesCommand.cs | |||
| @@ -1,6 +1,6 @@ | |||
| 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. | 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 | 2 | ||
| 3 | namespace WixToolset.Bind.Databases | 3 | namespace WixToolset.Core.WindowsInstaller.Databases |
| 4 | { | 4 | { |
| 5 | using System; | 5 | using System; |
| 6 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
| @@ -9,17 +9,18 @@ namespace WixToolset.Bind.Databases | |||
| 9 | using System.IO; | 9 | using System.IO; |
| 10 | using System.Linq; | 10 | using System.Linq; |
| 11 | using System.Runtime.InteropServices; | 11 | using System.Runtime.InteropServices; |
| 12 | using WixToolset.Cab; | ||
| 13 | using WixToolset.Data; | 12 | using WixToolset.Data; |
| 14 | using WixToolset.Data.Rows; | 13 | using WixToolset.Data.Rows; |
| 15 | using WixToolset.MergeMod; | 14 | using WixToolset.MergeMod; |
| 16 | using WixToolset.Msi; | 15 | using WixToolset.Msi; |
| 17 | using WixToolset.Core.Native; | 16 | using WixToolset.Core.Native; |
| 17 | using WixToolset.Core.Bind; | ||
| 18 | using WixToolset.Core.Cab; | ||
| 18 | 19 | ||
| 19 | /// <summary> | 20 | /// <summary> |
| 20 | /// Retrieve files information and extract them from merge modules. | 21 | /// Retrieve files information and extract them from merge modules. |
| 21 | /// </summary> | 22 | /// </summary> |
| 22 | internal class ExtractMergeModuleFilesCommand : ICommand | 23 | internal class ExtractMergeModuleFilesCommand |
| 23 | { | 24 | { |
| 24 | public IEnumerable<FileFacade> FileFacades { private get; set; } | 25 | public IEnumerable<FileFacade> FileFacades { private get; set; } |
| 25 | 26 | ||
| @@ -193,7 +194,7 @@ namespace WixToolset.Bind.Databases | |||
| 193 | string mergeIdPath = String.Concat(this.TempFilesLocation, Path.DirectorySeparatorChar, "MergeId.", safeMergeId); | 194 | string mergeIdPath = String.Concat(this.TempFilesLocation, Path.DirectorySeparatorChar, "MergeId.", safeMergeId); |
| 194 | Directory.CreateDirectory(mergeIdPath); | 195 | Directory.CreateDirectory(mergeIdPath); |
| 195 | 196 | ||
| 196 | using (WixExtractCab extractCab = new WixExtractCab()) | 197 | using (var extractCab = new WixExtractCab()) |
| 197 | { | 198 | { |
| 198 | try | 199 | try |
| 199 | { | 200 | { |
