diff options
| author | Bob Arnson <bob@firegiant.com> | 2019-12-11 19:17:17 -0500 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2019-12-11 19:22:07 -0500 |
| commit | 54ade276db9bd437375a57bddc9eb88a21a6ea7a (patch) | |
| tree | f352181d7cbaa82c9c0fb37e6d4caedf094f2f94 | |
| parent | 36cfc9509cb6a364f58531ff41eae16243091a3c (diff) | |
| download | wix-54ade276db9bd437375a57bddc9eb88a21a6ea7a.tar.gz wix-54ade276db9bd437375a57bddc9eb88a21a6ea7a.tar.bz2 wix-54ade276db9bd437375a57bddc9eb88a21a6ea7a.zip | |
Return the set of files extracted from a cabinet.
| -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 |
