diff options
-rw-r--r-- | src/WixToolset.Core.Native/Cabinet.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core.Native/Cabinet.cs b/src/WixToolset.Core.Native/Cabinet.cs index 3f5fa715..74ab7809 100644 --- a/src/WixToolset.Core.Native/Cabinet.cs +++ b/src/WixToolset.Core.Native/Cabinet.cs | |||
@@ -100,7 +100,7 @@ namespace WixToolset.Core.Native | |||
100 | /// Extracts all the files from a cabinet to a directory. | 100 | /// Extracts all the files from a cabinet to a directory. |
101 | /// </summary> | 101 | /// </summary> |
102 | /// <param name="outputFolder">Directory to extract files to.</param> | 102 | /// <param name="outputFolder">Directory to extract files to.</param> |
103 | public void Extract(string outputFolder) | 103 | public IEnumerable<string> Extract(string outputFolder) |
104 | { | 104 | { |
105 | if (!outputFolder.EndsWith("\\", StringComparison.Ordinal)) | 105 | if (!outputFolder.EndsWith("\\", StringComparison.Ordinal)) |
106 | { | 106 | { |
@@ -108,7 +108,7 @@ namespace WixToolset.Core.Native | |||
108 | } | 108 | } |
109 | 109 | ||
110 | var wixnative = new WixNativeExe("extractcab", this.Path, outputFolder); | 110 | var wixnative = new WixNativeExe("extractcab", this.Path, outputFolder); |
111 | wixnative.Run(); | 111 | return wixnative.Run(); |
112 | } | 112 | } |
113 | 113 | ||
114 | #if TOOD_ERROR_HANDLING | 114 | #if TOOD_ERROR_HANDLING |